1
0

implemented creation of thing via parambinder

This commit is contained in:
konrad
2018-07-18 08:56:19 +02:00
committed by kolaente
parent ebb5b332b6
commit de95ff40bf
21 changed files with 39 additions and 40 deletions

View File

@ -52,7 +52,7 @@ func CreateUser(user User) (newUser User, err error) {
// Create the user's namespace
newN := &Namespace{Name: newUserOut.Username, Description: newUserOut.Username + "'s namespace.", Owner: newUserOut}
err = newN.Create(&newUserOut, 0)
err = newN.Create(&newUserOut)
if err != nil {
return User{}, err
}