[PS-1202] Also update the decrypted history (#3205)

This commit is contained in:
Justin Baur 2022-07-29 09:47:30 -04:00 committed by GitHub
parent 3f758cdb9a
commit a46510bab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,7 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
} }
const newHistory = await this.encryptHistory(currentHistory); const newHistory = await this.encryptHistory(currentHistory);
await this.stateService.setDecryptedPasswordGenerationHistory(currentHistory);
return await this.stateService.setEncryptedPasswordGenerationHistory(newHistory); return await this.stateService.setEncryptedPasswordGenerationHistory(newHistory);
} }