mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 11:54:17 +01:00
Fix dashboard issue after collaboration migration
This commit is contained in:
parent
bef38d9d3f
commit
fd1df86c44
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ func (u *User) GetAccessibleRepositories() (map[*Repository]AccessType, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
err = repo.GetOwner()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
repos[repo] = access.Mode
|
repos[repo] = access.Mode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue