Fix dashboard issue after collaboration migration

tokarchuk/v1.17
Peter Smit 10 years ago
parent bef38d9d3f
commit fd1df86c44
  1. 4
      models/access.go

@ -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…
Cancel
Save