From da7b3802301886a441412fb3e7d7b0a8262afa8d Mon Sep 17 00:00:00 2001 From: Tilman Marquart Date: Mon, 20 Feb 2017 22:50:07 +0100 Subject: [PATCH] Fixed Wrong URL for getDealByContactId this change will fix Issue #6 --- agilecrm/agilecrm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agilecrm/agilecrm.js b/agilecrm/agilecrm.js index 20574ed..7cd5799 100644 --- a/agilecrm/agilecrm.js +++ b/agilecrm/agilecrm.js @@ -461,7 +461,7 @@ ContactAPI.prototype.getDealById = function getDealById(dealId, success, failure ContactAPI.prototype.getDealByContactId = function getDealByContactId(contactId, success, failure) { var options = this.getOptions(); - options.path = '/dev/api/contacts/' + contactId + 'deals'; + options.path = '/dev/api/contacts/' + contactId + '/deals'; https.get(options, function (resp) { var body = "";