1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

change per_page value from 200 to 100

This commit is contained in:
Akshay Pratinav
2019-03-15 08:00:20 -07:00
parent e73f6501f0
commit 6d15fe004e
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ func (p *GitHubProvider) hasOrg(accessToken string) (bool, error) {
pn := 1
for {
params := url.Values{
"per_page": {"200"},
"per_page": {"100"},
"page": {strconv.Itoa(pn)},
}
@ -148,7 +148,7 @@ func (p *GitHubProvider) hasOrgAndTeam(accessToken string) (bool, error) {
pn := 1
for {
params := url.Values{
"per_page": {"200"},
"per_page": {"100"},
"page": {strconv.Itoa(pn)},
}