diff --git a/lib/Issue.js b/lib/Issue.js index 07fa2b1a..d7118083 100644 --- a/lib/Issue.js +++ b/lib/Issue.js @@ -59,11 +59,12 @@ class Issue extends Requestable { * List comments on an issue * @see https://developer.github.com/v3/issues/comments/#list-comments-on-an-issue * @param {number} issue - the id of the issue to get comments from + * @param {Object} options - pagination options, per_page & page * @param {Requestable.callback} [cb] - will receive the comments * @return {Promise} - the promise for the http request */ - listIssueComments(issue, cb) { - return this._request('GET', `/repos/${this.__repository}/issues/${issue}/comments`, null, cb); + listIssueComments(issue, options, cb) { + return this._request('GET', `/repos/${this.__repository}/issues/${issue}/comments`, options, cb); } /** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy