Pretty all the things I missed
My laptop didn't have lefthook running. Oops.
This commit is contained in:
parent
f60bde7fd9
commit
4bbfbdb9e6
30 changed files with 490 additions and 487 deletions
|
|
@ -73,7 +73,7 @@ func newUser(ctx context.Context, org Organization, user *models.User) User {
|
|||
func CreateUser(ctx context.Context, username string, name string, password_hash string) (*User, error) {
|
||||
o_setter := models.OrganizationSetter{
|
||||
IsCatchall: omit.From(false),
|
||||
Name: omit.From(fmt.Sprintf("%s's organization", username)),
|
||||
Name: omit.From(fmt.Sprintf("%s's organization", username)),
|
||||
}
|
||||
o, err := models.Organizations.Insert(&o_setter).One(ctx, db.PGInstance.BobDB)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue