aboutsummaryrefslogtreecommitdiff
path: root/internal/route/org/org.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/org/org.go')
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/org/org.go b/internal/route/org/org.go
index 424cbd15..badd0d81 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.UserOrganization,
+ Type: db.UserTypeOrganization,
}
if err := db.CreateOrganization(org, c.User); err != nil {