1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

sequentialize updates

This commit is contained in:
Kyle Spearrin
2018-07-23 14:42:37 -04:00
parent c7e8f1d13f
commit 003c730eb1
3 changed files with 11 additions and 19 deletions

View File

@@ -2,7 +2,6 @@ import { EncryptionType } from '../../enums/encryptionType';
import { CryptoService } from '../../abstractions/crypto.service';
import { sequentialize } from '../../misc/sequentialize';
import { Utils } from '../../misc/utils';
export class CipherString {
@@ -90,7 +89,6 @@ export class CipherString {
}
}
@sequentialize((args) => args[0])
async decrypt(orgId: string): Promise<string> {
if (this.decryptedValue) {
return Promise.resolve(this.decryptedValue);