浏览代码

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)

正在加载...
取消
保存