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);