Skip to content
Snippets Groups Projects
Verified Commit abaaa722 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

api: Slight syntax improvement

parent 2d4fd1ab
No related branches found
No related tags found
No related merge requests found
......@@ -282,8 +282,8 @@ module MatrixSdk
req_obj = construct_request(url: url, method: method, **options)
print_http(req_obj, id: req_id)
response = nil
duration = nil
response = duration = nil
@http_lock.synchronize do
dur_start = Time.now
response = http.request req_obj
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment