decrypt optimization

This commit is contained in:
Kyle Spearrin 2019-04-15 08:43:18 -04:00
parent 37d9afc58b
commit 05dde1051c
1 changed files with 2 additions and 2 deletions

View File

@ -90,8 +90,8 @@ export class CipherString {
} }
async decrypt(orgId: string): Promise<string> { async decrypt(orgId: string): Promise<string> {
if (this.decryptedValue) { if (this.decryptedValue != null) {
return Promise.resolve(this.decryptedValue); return this.decryptedValue;
} }
let cryptoService: CryptoService; let cryptoService: CryptoService;