get All collaborators, not only first page · github-tools/github@78417eb

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 78417eb

committed

get All collaborators, not only first page

1 parent 22b889c commit 78417eb

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -440,7 +440,7 @@ class Repository extends Requestable {

440440

* @return {Promise} - the promise for the http request

441441

*/

442442

getCollaborators(cb) {

443-

return this._request('GET', `/repos/${this.__fullname}/collaborators`, null, cb);

443+

return this._requestAllPages(`/repos/${this.__fullname}/collaborators`, null, cb);

444444

}

445445
446446

/**

0 commit comments

Comments

 (0)