1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-13 10:24:20 +01:00

[PM-7004] Rename recoverDeleteToken method in verify-recover-delete-org.component.ts to deleteUsingToken

This commit is contained in:
Rui Tome 2024-04-18 12:44:45 +01:00
parent 6c6e7c9979
commit 19026979d7
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ export class VerifyRecoverDeleteOrgComponent implements OnInit {
submit = async () => {
try {
const request = new OrganizationVerifyDeleteRecoverRequest(this.token);
await this.apiService.recoverDeleteToken(this.orgId, request);
await this.apiService.deleteUsingToken(this.orgId, request);
this.platformUtilsService.showToast(
"success",
this.i18nService.t("organizationDeleted"),

View File

@ -55,7 +55,7 @@ export class OrganizationApiServiceAbstraction {
reinstate: (id: string) => Promise<void>;
leave: (id: string) => Promise<void>;
delete: (id: string, request: SecretVerificationRequest) => Promise<void>;
recoverDeleteToken: (
deleteUsingToken: (
organizationId: string,
request: OrganizationVerifyDeleteRecoverRequest,
) => Promise<any>;

View File

@ -199,7 +199,7 @@ export class OrganizationApiService implements OrganizationApiServiceAbstraction
await this.syncService.fullSync(true);
}
recoverDeleteToken(
deleteUsingToken(
organizationId: string,
request: OrganizationVerifyDeleteRecoverRequest,
): Promise<any> {