mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
SG-680 - OrgDomainApi svc - must await send of delete call otherwise runs synchronously. Duh.
This commit is contained in:
@@ -77,7 +77,7 @@ export class OrgDomainApiService implements OrgDomainApiServiceAbstraction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async delete(orgId: string, orgDomainId: string): Promise<any> {
|
async delete(orgId: string, orgDomainId: string): Promise<any> {
|
||||||
this.apiService.send(
|
await this.apiService.send(
|
||||||
"DELETE",
|
"DELETE",
|
||||||
`/organizations/${orgId}/domain/${orgDomainId}`,
|
`/organizations/${orgId}/domain/${orgDomainId}`,
|
||||||
null,
|
null,
|
||||||
|
|||||||
Reference in New Issue
Block a user