1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Move billing code to new encrypt service interface (#14543)

This commit is contained in:
Bernd Schoolmann
2025-05-08 16:28:29 +02:00
committed by GitHub
parent f9edf048e3
commit 360e731c95
3 changed files with 3 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ export class OrganizationBillingService implements OrganizationBillingServiceAbs
private async makeOrganizationKeys(): Promise<OrganizationKeys> {
const [encryptedKey, key] = await this.keyService.makeOrgKey<OrgKey>();
const [publicKey, encryptedPrivateKey] = await this.keyService.makeKeyPair(key);
const encryptedCollectionName = await this.encryptService.encrypt(
const encryptedCollectionName = await this.encryptService.encryptString(
this.i18nService.t("defaultCollection"),
key,
);