Fix dashboard issue after collaboration migration

This commit is contained in:
Peter Smit 2015-02-04 16:08:55 +02:00
parent bef38d9d3f
commit fd1df86c44
1 changed files with 4 additions and 0 deletions

View File

@ -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
}