diff options
Diffstat (limited to 'internal/route/org/org.go')
-rw-r--r-- | internal/route/org/org.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/org/org.go b/internal/route/org/org.go index 3a92e553..424cbd15 100644 --- a/internal/route/org/org.go +++ b/internal/route/org/org.go @@ -32,7 +32,7 @@ func CreatePost(c *context.Context, f form.CreateOrg) { org := &db.User{ Name: f.OrgName, IsActive: true, - Type: db.USER_TYPE_ORGANIZATION, + Type: db.UserOrganization, } if err := db.CreateOrganization(org, c.User); err != nil { |