1
0
Fork 0

Fix SyncUserOrgs task page incrementing

This commit is contained in:
Gregory Eremin 2015-03-19 23:20:02 +07:00
parent 4c2fb60652
commit 3f22b17688
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ func SyncUserOrgs(token string) (err error) {
opt := &github.ListOptions{PerPage: 100}
for {
opt.Page++
var orgs []github.Organization
var resp *github.Response
if orgs, resp, err = client.Organizations.List("", opt); err != nil {