aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgithub_sync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/github_sync.sh b/github_sync.sh
index 61bdd45..d0eb464 100755
--- a/github_sync.sh
+++ b/github_sync.sh
@@ -70,7 +70,7 @@ function github_update_repo_list() {
local JSON_REPOS
JSON_REPOS=$(curl_wrapper -u $USERNAME:$TOKEN \
- "$API_BASE/user/repos?visibility=$VISIBILITY"; exit $?)
+ "$API_BASE/user/repos?visibility=$VISIBILITY&per_page=100"; exit $?)
[ $? -ne 0 ] && jq ".message" <<< "$JSON_REPOS" && exit 1
GH_REPOS_COUNT=$(jq ". | length" <<< "$JSON_REPOS")