producteca-sdk
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -53,7 +53,5 @@ (function() { | ||
SalesOrdersApi.prototype.getByIntegration = function(arg) { | ||
var app, integrationId, propertiesNotFound, query; | ||
var app, integrationId; | ||
integrationId = arg.integrationId, app = arg.app; | ||
query = "integrations/any(integration integration/integrationId eq " + integrationId + " and integration/app eq " + app + ")"; | ||
propertiesNotFound = "integrationId: " + integrationId + " and app: " + app; | ||
return this._findSalesOrder(query, propertiesNotFound); | ||
return this.client.getAsync("/integrations/" + app + "/salesorders/" + integrationId); | ||
}; | ||
@@ -60,0 +58,0 @@ |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"main": "build/sdk.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
67150
785