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