We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1610b9f commit 7e401b9Copy full SHA for 7e401b9
routers/api/v1/api.go
@@ -406,7 +406,7 @@ func RegisterRoutes(m *macaron.Macaron) {
406
Delete(org.ConcealMember)
407
})
408
m.Combo("/teams").Get(org.ListTeams).
409
- Post("", bind(api.CreateTeamOption{}), org.CreateTeam)
+ Post(bind(api.CreateTeamOption{}), org.CreateTeam)
410
m.Group("/hooks", func() {
411
m.Combo("").Get(org.ListHooks).
412
Post(bind(api.CreateHookOption{}), org.CreateHook)
0 commit comments