diff --git a/src/models/domain/cipherString.ts b/src/models/domain/cipherString.ts index 3c5bed833c..703945bd5b 100644 --- a/src/models/domain/cipherString.ts +++ b/src/models/domain/cipherString.ts @@ -90,8 +90,8 @@ export class CipherString { } async decrypt(orgId: string): Promise { - if (this.decryptedValue) { - return Promise.resolve(this.decryptedValue); + if (this.decryptedValue != null) { + return this.decryptedValue; } let cryptoService: CryptoService;