Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Lift the amount of results for listing pull requests and repos.
Browse files Browse the repository at this point in the history
Close #413
  • Loading branch information
henvic committed Sep 28, 2015
1 parent 4ef7c43 commit e80ea62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/cmds/pull-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,8 @@ PullRequest.prototype.listFromAllRepositories = function (opt_callback) {

payload = {
type: 'all',
user: options.user
user: options.user,
per_page: 1000
};

if(options.org) {
Expand Down Expand Up @@ -628,7 +629,8 @@ PullRequest.prototype.listFromAllOrgRepositories = function (opt_callback) {
payload = {
type: 'all',
user: options.user,
org: options.org
org: options.org,
per_page: 1000
};

base.github.repos.getFromOrg(payload, function (err, repositories) {
Expand Down
3 changes: 2 additions & 1 deletion lib/cmds/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ Repo.prototype.list = function (user, opt_callback) {

payload = {
type: options.type,
user: user
user: user,
per_page: 1000
};

if (options.organization) {
Expand Down

0 comments on commit e80ea62

Please sign in to comment.