Merge pull request #1541 from Bugagazavr/get-user-repos

Use GetUserRepos instead GetAllRepos
This commit is contained in:
Brad Rydzewski 2016-03-26 09:08:35 -07:00
commit 310be64c3b

View file

@ -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
}