Skip to content

Commit

Permalink
Merge pull request #30 from julianduque/list-tickets-fix
Browse files Browse the repository at this point in the history
rename API endpoint (Tickets -> tickets)
  • Loading branch information
maxkoryukov committed Aug 25, 2017
2 parents 7935806 + e11763a commit 5515667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Freshdesk {
* @return {Array.<Freshdesk.Tickets>} 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) {
Expand Down

0 comments on commit 5515667

Please sign in to comment.