1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

SG-680 - OrgDomainApi svc - must await send of delete call otherwise runs synchronously. Duh.

This commit is contained in:
Jared Snider
2022-12-09 16:51:08 -05:00
parent a2aac79ce2
commit 964fab1782

View File

@@ -77,7 +77,7 @@ export class OrgDomainApiService implements OrgDomainApiServiceAbstraction {
}
async delete(orgId: string, orgDomainId: string): Promise<any> {
this.apiService.send(
await this.apiService.send(
"DELETE",
`/organizations/${orgId}/domain/${orgDomainId}`,
null,