1
0

updated todo

+ fmt
This commit is contained in:
konrad
2018-07-24 17:47:08 +02:00
parent 26c2ad078f
commit 7dc8699cbd
4 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ func (tn *TeamNamespace) Create(doer *User) (err error) {
if err != nil {
return
}
// Check if the team already has access to the namespace
exists, err := x.Where("team_id = ?", tn.TeamID).
And("namespace_id = ?", tn.NamespaceID).