aboutsummaryrefslogtreecommitdiff
path: root/models/org.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-12-20 23:23:57 -0500
committerUnknwon <u@gogs.io>2016-12-20 23:23:57 -0500
commit34b92cdb440e175884b45df7197a65b086ff0eac (patch)
tree46d089289b93062d94ef8253266590f5dccd221c /models/org.go
parentd3b2ff17d6f0d663591f97bec92dd6f7f30e3fcc (diff)
Fix #3905
Diffstat (limited to 'models/org.go')
-rw-r--r--models/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/org.go b/models/org.go
index 706b1889..ce6745bd 100644
--- a/models/org.go
+++ b/models/org.go
@@ -149,7 +149,7 @@ func CreateOrganization(org, owner *User) (err error) {
}
if _, err = sess.Insert(&TeamUser{
- Uid: owner.ID,
+ UID: owner.ID,
OrgID: org.ID,
TeamID: t.ID,
}); err != nil {