Skip to content

Commit 7e401b9

Browse files
Bwkolunny
authored andcommitted
Fix crash caused by #647 (#708)
1 parent 1610b9f commit 7e401b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ func RegisterRoutes(m *macaron.Macaron) {
406406
Delete(org.ConcealMember)
407407
})
408408
m.Combo("/teams").Get(org.ListTeams).
409-
Post("", bind(api.CreateTeamOption{}), org.CreateTeam)
409+
Post(bind(api.CreateTeamOption{}), org.CreateTeam)
410410
m.Group("/hooks", func() {
411411
m.Combo("").Get(org.ListHooks).
412412
Post(bind(api.CreateHookOption{}), org.CreateHook)

0 commit comments

Comments
 (0)