mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 17:00:30 +00:00
Use GetUserRepos instead GetAllRepos
This commit is contained in:
parent
98ea6883f9
commit
d7b066b308
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue