From 4d0ad3310ee363be376f60da6804a3591e9d3265 Mon Sep 17 00:00:00 2001 From: Brandon Treston Date: Thu, 26 Jun 2025 11:11:07 -0400 Subject: [PATCH] fix error (#15335) --- .../organizations/members/members.component.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/admin-console/organizations/members/members.component.ts b/apps/web/src/app/admin-console/organizations/members/members.component.ts index 94f268cde21..633f45ae9a3 100644 --- a/apps/web/src/app/admin-console/organizations/members/members.component.ts +++ b/apps/web/src/app/admin-console/organizations/members/members.component.ts @@ -337,10 +337,9 @@ export class MembersComponent extends BaseMembersComponent if ( await firstValueFrom(this.configService.getFeatureFlag$(FeatureFlag.CreateDefaultLocation)) ) { - this.organizationUserService - .confirmUser(this.organization, user, publicKey) - .pipe(takeUntilDestroyed()) - .subscribe(); + await firstValueFrom( + this.organizationUserService.confirmUser(this.organization, user, publicKey), + ); } else { const orgKey = await this.keyService.getOrgKey(this.organization.id); const key = await this.encryptService.encapsulateKeyUnsigned(orgKey, publicKey);