aboutsummaryrefslogtreecommitdiff
path: root/internal/db/org.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/org.go')
-rw-r--r--internal/db/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/org.go b/internal/db/org.go
index bcf307a7..b28d4333 100644
--- a/internal/db/org.go
+++ b/internal/db/org.go
@@ -148,7 +148,7 @@ func CreateOrganization(org, owner *User) (err error) {
OrgID: org.ID,
LowerName: strings.ToLower(OWNER_TEAM),
Name: OWNER_TEAM,
- Authorize: ACCESS_MODE_OWNER,
+ Authorize: AccessModeOwner,
NumMembers: 1,
}
if _, err = sess.Insert(t); err != nil {