diff options
author | Unknwon <u@gogs.io> | 2015-02-23 02:15:53 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-02-23 02:15:53 -0500 |
commit | ee68a826a55c6a4305e7f609db57501a54a5bc47 (patch) | |
tree | 935e76f3934c68c54fcb0af1f8f51cf8adb9abcd /routers | |
parent | e90f014e4a85d163c68ffb2d1d0e5ea888e9b569 (diff) | |
download | gitea-ee68a826a55c6a4305e7f609db57501a54a5bc47.tar.gz gitea-ee68a826a55c6a4305e7f609db57501a54a5bc47.zip |
v4 migration, merge 'dev', clean code and mirror fix
Diffstat (limited to 'routers')
-rw-r--r-- | routers/org/teams.go | 2 | ||||
-rw-r--r-- | routers/repo/setting.go | 1 |
2 files changed, 1 insertions, 2 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, diff --git a/routers/repo/setting.go b/routers/repo/setting.go index 0f8acfa5ba..e2b8968375 100644 --- a/routers/repo/setting.go +++ b/routers/repo/setting.go @@ -8,7 +8,6 @@ import ( "encoding/json" "errors" "fmt" - "path" "strings" "time" |