From d7b066b30891ce9200e187a2ce7cd9a2ab8f7aaf Mon Sep 17 00:00:00 2001 From: Kirill Zaitsev Date: Sat, 26 Mar 2016 18:48:35 +0300 Subject: [PATCH] Use GetUserRepos instead GetAllRepos --- remote/github/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/github/github.go b/remote/github/github.go index 433bd2db..fe7244bb 100644 --- a/remote/github/github.go +++ b/remote/github/github.go @@ -192,7 +192,7 @@ func (g *Github) Repo(u *model.User, owner, name string) (*model.Repo, error) { func (g *Github) Repos(u *model.User) ([]*model.RepoLite, error) { client := NewClient(g.API, u.Token, g.SkipVerify) - all, err := GetAllRepos(client) + all, err := GetUserRepos(client) if err != nil { return nil, err }