@sap_oss/odata-library
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -100,3 +100,3 @@ export = Action; | ||
private getPath; | ||
getPayload(parameters: any, request: any): string; | ||
getPayload(parameters: any, request: any): {}; | ||
/** | ||
@@ -103,0 +103,0 @@ * Normalize response and returns raw response or object or array |
# Changelog | ||
# 2.3.2 | ||
- [FIX] Reset entity after bound action call - Jakub Vaclavik | ||
- [FIX] Correct action payload formatting in batch call - Jakub Vaclavik | ||
# 2.3.1 | ||
@@ -324,2 +329,1 @@ | ||
- [FIX] Remove superagnt prefix dependency - Norbert Volf | ||
@@ -139,6 +139,13 @@ "use strict"; | ||
request.header("Accept", "application/json"); | ||
callRequestPromise = this.agent.post(path, request._headers, payload); | ||
callRequestPromise = this.agent.post( | ||
path, | ||
request._headers, | ||
JSON.stringify(payload) | ||
); | ||
} | ||
this.reset(); | ||
if (entity) { | ||
entity.reset(); | ||
} | ||
@@ -192,3 +199,3 @@ return new Promise((resolve, reject) => { | ||
}); | ||
payload = JSON.stringify(payloadObject); | ||
payload = payloadObject; | ||
} | ||
@@ -195,0 +202,0 @@ |
{ | ||
"name": "@sap_oss/odata-library", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "OData client for testing Netweawer OData services.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3458348
15826