From 12da71f731c1865d682b8f96399faf9218abca8a Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 5 May 2021 16:03:17 +0200 Subject: [PATCH] unneeded ? --- src/matrix/storage/idb/error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/storage/idb/error.js b/src/matrix/storage/idb/error.js index 05390bea..2ba6289f 100644 --- a/src/matrix/storage/idb/error.js +++ b/src/matrix/storage/idb/error.js @@ -42,7 +42,7 @@ export class IDBError extends StorageError { export class IDBRequestError extends IDBError { constructor(request, message = "IDBRequest failed") { - const source = request?.source; + const source = request.source; const cause = request.error; super(message, source, cause); }