Skip to content

Commit

Permalink
Merge pull request #8 from homerjam/patch-1
Browse files Browse the repository at this point in the history
Update list.js
  • Loading branch information
nufyoot committed Aug 15, 2015
2 parents 9ba77f8 + 52fb304 commit 0f3bf42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/interface/list.js
Expand Up @@ -19,7 +19,7 @@ List.prototype = {
},

deactivateWebhook: function (webhookId, callback) {
this.createsend.delete('lists/' + this.listId + '/webhooks/.json' + webhookId, null, null, callback);
this.createsend.delete('lists/' + this.listId + '/webhooks/' + webhookId + '.json', null, null, callback);
},

delete: function (callback) {
Expand Down Expand Up @@ -89,4 +89,4 @@ List.prototype = {
updateCustomFieldOptions: function (key, details, callback) {
this.createsend.put('lists/' + this.listId + '/customfields/' + key + '/options.json', null, details, callback);
}
};
};

0 comments on commit 0f3bf42

Please sign in to comment.