From 74c870683a5dd8b30d5ea80796d894f2a29db30d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 13 Aug 2018 14:09:03 -0400 Subject: [PATCH] sequentualize cipher service getAllDecrypted --- src/services/cipher.service.ts | 2 ++ 1 file changed, 2 insertions(+) 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;