mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-07 07:03:21 +00:00
parent
1610b9f547
commit
7e401b9e39
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue