mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 09:20:16 +00:00
Fix create and delete database (#317)
This commit is contained in:
@@ -93,6 +93,10 @@ async function getOperationStatus(operationStatusUrl: string) {
|
||||
throw new AbortError(error);
|
||||
}
|
||||
|
||||
if (response.status === 204) {
|
||||
return;
|
||||
}
|
||||
|
||||
const body = await response.json();
|
||||
const status = body.status;
|
||||
if (!status && response.status === 200) {
|
||||
|
||||
Reference in New Issue
Block a user