dispatch-node-sdk
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -30,3 +30,6 @@ /** | ||
update(id, data) { | ||
return this.client.doAuthenticatedRequest('PATCH', this.getSingleEndpoint(id), data); | ||
return this.client.doAuthenticatedRequest('PATCH', this.getSingleEndpoint(id), data) | ||
.then(response => { | ||
return response[Object.keys(response)[0]]; | ||
}); | ||
} | ||
@@ -33,0 +36,0 @@ |
{ | ||
"name": "dispatch-node-sdk", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "High- and low-level libraries for interacting with the Dispatch API", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
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
103810
2652