producteca-sdk
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -23,4 +23,4 @@ (function() { | ||
ContactsApi.prototype.update = function(contact) { | ||
return this.client.putAsync("/contacts", contact); | ||
ContactsApi.prototype.update = function(id, contact) { | ||
return this.client.putAsync("/contacts/" + id, contact); | ||
}; | ||
@@ -27,0 +27,0 @@ |
@@ -22,3 +22,3 @@ (function() { | ||
ProductecaApi.prototype.initializeClients = function(endpoint) { | ||
endpoint.url = endpoint.url || "http://apps.producteca.com/api"; | ||
endpoint.url = endpoint.url || "https://apps.producteca.com/api"; | ||
this.client = new Client(endpoint.url, this._buildAuthMethod(endpoint)); | ||
@@ -25,0 +25,0 @@ return this.asyncClient = new Client(this._makeUrlAsync(endpoint.url, this._buildAuthMethod(endpoint))); |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"main": "build/sdk.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
79450