mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-22 02:11:29 +00:00
Tweak
This commit is contained in:
@@ -207,7 +207,7 @@ async function main() {
|
||||
${bodyParam(bodyParameter, "Types")}
|
||||
) : Promise<${responseType(operation, "Types")}> {
|
||||
const path = \`${path.replace(/{/g, "${")}\`
|
||||
return window.fetch(this.baseUrl + this.basePath + path, { method: "${method}", ${
|
||||
return window.fetch(this.baseUrl + path, { method: "${method}", ${
|
||||
bodyParameter ? "body: JSON.stringify(body)" : ""
|
||||
} }).then((response) => response.json())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user