1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-04-10 07:53:14 +00:00

Merge pull request #553 from sasjs/update-deps

chore(deps): update dependencies
This commit is contained in:
Yury Shkoda
2021-09-20 15:48:57 +03:00
committed by GitHub
3 changed files with 1131 additions and 529 deletions

View File

@@ -281,7 +281,11 @@ export class RequestClient implements HttpClient {
}
try {
const response = await this.httpClient.post(url, content, { headers })
const response = await this.httpClient.post(url, content, {
headers,
transformRequest: (requestBody) => requestBody
})
return {
result: response.data,
etag: response.headers['etag'] as string