Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
Temporary fix for people with a lot of repos (#8)
Browse files Browse the repository at this point in the history
see #10 to keep track of the full solution
  • Loading branch information
Snazzah authored and cking committed Apr 22, 2018
1 parent b6de16d commit 01218a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ router.get('/add', async ctx => {

// collect dem juicy public github repos
const repos = await ctx.state.user
.fetchGithub('https://api.github.com/user/repos?visibility=public')
.fetchGithub('https://api.github.com/user/repos?per_page=100&visibility=public')
.then(async res => {
if(res.status == 401) {
delete ctx.state.user.github_access_token
Expand Down

0 comments on commit 01218a0

Please sign in to comment.