mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-27 12:51:41 +00:00
update UPAPI calls
This commit is contained in:
@@ -181,15 +181,10 @@ export async function getOfferingIdsRequest<T>({
|
||||
throw new Error("No catalog API key provided");
|
||||
}
|
||||
|
||||
// TODO: delete after test
|
||||
// console.log("config CATALOG_API_KEY: " + configContext.CATALOG_API_KEY);
|
||||
// End Test
|
||||
|
||||
const response = await window.fetch(url.href, {
|
||||
method,
|
||||
headers: {
|
||||
// [HttpHeaders.xAPIKey]: configContext.CATALOG_API_KEY,
|
||||
[HttpHeaders.xAPIKey]: "",
|
||||
[HttpHeaders.xAPIKey]: configContext.CATALOG_API_KEY,
|
||||
},
|
||||
body: requestBody ? JSON.stringify(requestBody) : undefined,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user