mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Move stringifying of request body for azure REST calls (#22820)
* Move stringifying of request body for azure REST calls * spelling * Remove unused
This commit is contained in:
@@ -396,9 +396,10 @@ export async function makeHttpRequest(account: AzureAccount, subscription: azure
|
||||
...requestHeaders
|
||||
}
|
||||
|
||||
const body = JSON.stringify(requestBody || '');
|
||||
let networkRequestOptions: NetworkRequestOptions = {
|
||||
headers: reqHeaders,
|
||||
body: requestBody
|
||||
body
|
||||
};
|
||||
|
||||
// Adding '/' if path does not begin with it.
|
||||
|
||||
Reference in New Issue
Block a user