aboutsummaryrefslogtreecommitdiffstats
path: root/routers/org
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-23 02:15:53 -0500
committerUnknwon <u@gogs.io>2015-02-23 02:15:53 -0500
commitee68a826a55c6a4305e7f609db57501a54a5bc47 (patch)
tree935e76f3934c68c54fcb0af1f8f51cf8adb9abcd /routers/org
parente90f014e4a85d163c68ffb2d1d0e5ea888e9b569 (diff)
downloadgitea-ee68a826a55c6a4305e7f609db57501a54a5bc47.tar.gz
gitea-ee68a826a55c6a4305e7f609db57501a54a5bc47.zip
v4 migration, merge 'dev', clean code and mirror fix
Diffstat (limited to 'routers/org')
-rw-r--r--routers/org/teams.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/org/teams.go b/routers/org/teams.go
index 2fbb1480d1..69f2734c64 100644
--- a/routers/org/teams.go
+++ b/routers/org/teams.go
@@ -181,7 +181,7 @@ func NewTeamPost(ctx *middleware.Context, form auth.CreateTeamForm) {
org := ctx.Org.Organization
t := &models.Team{
- OrgId: org.Id,
+ OrgID: org.Id,
Name: form.TeamName,
Description: form.Description,
Authorize: auth,