mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-26 23:09:28 +00:00
Fix dashboard issue after collaboration migration
This commit is contained in:
parent
bef38d9d3f
commit
fd1df86c44
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue