Преглед изворни кода

Fix crash caused by #647 (#708)

tags/v1.1.0
Bwko пре 7 година
родитељ
комит
7e401b9e39
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      routers/api/v1/api.go

+ 1
- 1
routers/api/v1/api.go Прегледај датотеку

@@ -406,7 +406,7 @@ func RegisterRoutes(m *macaron.Macaron) {
Delete(org.ConcealMember)
})
m.Combo("/teams").Get(org.ListTeams).
Post("", bind(api.CreateTeamOption{}), org.CreateTeam)
Post(bind(api.CreateTeamOption{}), org.CreateTeam)
m.Group("/hooks", func() {
m.Combo("").Get(org.ListHooks).
Post(bind(api.CreateHookOption{}), org.CreateHook)

Loading…
Откажи
Сачувај