Fix private repo detection

This commit is contained in:
Kirill Zaitsev 2015-07-27 01:29:51 +03:00
parent f889a29482
commit da597626dd

View file

@ -101,7 +101,10 @@ func (r *Gitlab) Repo(u *common.User, owner, name string) (*common.Repo, error)
if r.PrivateMode {
repo.Private = true
} else {
repo.Private = !repo_.Public
}
return repo, err
}