From e11763afa43650ee889c87c952d959eb25cbf344 Mon Sep 17 00:00:00 2001 From: Julian Duque Date: Fri, 25 Aug 2017 09:51:41 -0500 Subject: [PATCH] rename API endpoint (Tickets -> tickets) --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.js b/lib/client.js index ec9d554..58df5e6 100644 --- a/lib/client.js +++ b/lib/client.js @@ -65,7 +65,7 @@ class Freshdesk { * @return {Array.} The array of tickets found */ listAllTickets (params, cb) { - makeRequest('GET', this._auth, `${this.baseUrl}/api/v2/Tickets`, params, null, cb) + makeRequest('GET', this._auth, `${this.baseUrl}/api/v2/tickets`, params, null, cb) } listAllTicketFields(params, cb) {