From 2cf87b4c03f1790ad321cce77011a4b79449f706 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Tue, 17 Feb 2026 10:54:22 +0100 Subject: [PATCH] Prettier --- .../key-rotation/user-key-rotation.service.ts | 4 ++-- .../src/user-key-rotation.service.spec.ts | 6 +----- .../user-crypto-management/src/user-key-rotation.service.ts | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/apps/web/src/app/key-management/key-rotation/user-key-rotation.service.ts b/apps/web/src/app/key-management/key-rotation/user-key-rotation.service.ts index 390a33227c4..57577422544 100644 --- a/apps/web/src/app/key-management/key-rotation/user-key-rotation.service.ts +++ b/apps/web/src/app/key-management/key-rotation/user-key-rotation.service.ts @@ -71,7 +71,7 @@ type MasterPasswordAuthenticationAndUnlockData = { * A token provider that exposes a null access token to the SDK. */ class NoopTokenProvider implements TokenProvider { - constructor() { } + constructor() {} async get_access_token(): Promise { // Ignore from the test coverage, since this is called by the SDK @@ -106,7 +106,7 @@ export class UserKeyRotationService { private securityStateService: SecurityStateService, private sdkService: SdkService, private masterPasswordService: MasterPasswordServiceAbstraction, - ) { } + ) {} /** * Creates a new user key and re-encrypts all required data with the it. diff --git a/libs/user-crypto-management/src/user-key-rotation.service.spec.ts b/libs/user-crypto-management/src/user-key-rotation.service.spec.ts index af6d871d6d7..70c19b8025d 100644 --- a/libs/user-crypto-management/src/user-key-rotation.service.spec.ts +++ b/libs/user-crypto-management/src/user-key-rotation.service.spec.ts @@ -94,11 +94,7 @@ describe("DefaultUserKeyRotationService", () => { mockSdkService.userClient$.mockReturnValue(of(mockSdkClient as any)); - service = new DefaultUserKeyRotationService( - mockSdkService, - mockLogService, - mockDialogService, - ); + service = new DefaultUserKeyRotationService(mockSdkService, mockLogService, mockDialogService); KeyRotationTrustInfoComponent.open = initialPromptedOpenTrue; EmergencyAccessTrustComponent.open = emergencyAccessTrustOpenTrusted; diff --git a/libs/user-crypto-management/src/user-key-rotation.service.ts b/libs/user-crypto-management/src/user-key-rotation.service.ts index e7f817ecf93..beaace21c15 100644 --- a/libs/user-crypto-management/src/user-key-rotation.service.ts +++ b/libs/user-crypto-management/src/user-key-rotation.service.ts @@ -25,7 +25,7 @@ export class DefaultUserKeyRotationService implements UserKeyRotationService { private sdkService: SdkService, private logService: LogService, private dialogService: DialogService, - ) { } + ) {} async changePasswordAndRotateUserKey( currentMasterPassword: string, @@ -57,7 +57,7 @@ export class DefaultUserKeyRotationService implements UserKeyRotationService { old_password: currentMasterPassword, password: newMasterPassword, hint: hint, - } + }, }, trusted_emergency_access_public_keys: trustedEmergencyAccessUserPublicKeys, trusted_organization_public_keys: trustedOrganizationPublicKeys,