fix #1302
This commit is contained in:
parent
1d57f0d64f
commit
f8ae161c74
3 changed files with 29 additions and 19 deletions
|
@ -106,9 +106,9 @@ func ListMyRepos(ctx *middleware.Context) {
|
|||
}
|
||||
numOwnRepos := len(ownRepos)
|
||||
|
||||
accessibleRepos, err := ctx.User.GetAccessibleRepositories()
|
||||
accessibleRepos, err := ctx.User.GetRepositoryAccesses()
|
||||
if err != nil {
|
||||
ctx.APIError(500, "GetAccessibleRepositories", err)
|
||||
ctx.APIError(500, "GetRepositoryAccesses", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue