diff --git a/src/services/cipher.service.ts b/src/services/cipher.service.ts index 73f4ba0d7f..b5f1c046e9 100644 --- a/src/services/cipher.service.ts +++ b/src/services/cipher.service.ts @@ -43,6 +43,7 @@ import { SettingsService } from '../abstractions/settings.service'; import { StorageService } from '../abstractions/storage.service'; import { UserService } from '../abstractions/user.service'; +import { sequentialize } from '../misc/sequentialize'; import { Utils } from '../misc/utils'; const Keys = { @@ -259,6 +260,7 @@ export class CipherService implements CipherServiceAbstraction { return response; } + @sequentialize(() => 'getAllDecrypted') async getAllDecrypted(): Promise { if (this.decryptedCipherCache != null) { return this.decryptedCipherCache;