mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-31 15:21:00 +08:00
Fix dashboard issue after collaboration migration
This commit is contained in:
@ -93,6 +93,10 @@ func (u *User) GetAccessibleRepositories() (map[*Repository]AccessType, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
err = repo.GetOwner()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
repos[repo] = access.Mode
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user