From e175e9ac8baa11287a308eeff57f24a22af96f9d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 25 Sep 2020 10:45:34 +0200 Subject: [PATCH] cleanup --- src/matrix/net/HomeServerApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/net/HomeServerApi.js b/src/matrix/net/HomeServerApi.js index 63d5c830..83007953 100644 --- a/src/matrix/net/HomeServerApi.js +++ b/src/matrix/net/HomeServerApi.js @@ -75,7 +75,7 @@ export class HomeServerApi { method, headers, body: bodyString, - timeout: options && options.timeout + timeout: options?.timeout }); const wrapper = new RequestWrapper(method, url, requestResult);