dispatch-node-sdk
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -52,3 +52,5 @@ 'use strict'; | ||
value: function update(id, data) { | ||
return this.client.doAuthenticatedRequest('PATCH', this.getSingleEndpoint(id), data); | ||
return this.client.doAuthenticatedRequest('PATCH', this.getSingleEndpoint(id), data).then(function (response) { | ||
return response[Object.keys(response)[0]]; | ||
}); | ||
} | ||
@@ -55,0 +57,0 @@ }, { |
{ | ||
"name": "dispatch-node-sdk", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"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
103897
2654