forked from Gitlink/gitea-1120-rc1
fix
This commit is contained in:
parent
fd05b7938e
commit
b8599a9fa2
|
@ -737,7 +737,8 @@ func RegisterRoutes(m *macaron.Macaron) {
|
|||
Patch(bind(api.WikiOption{}), repo.EditWiki).
|
||||
Delete(repo.DeleteWiki)
|
||||
})
|
||||
},reqToken(), reqAdmin())
|
||||
})
|
||||
|
||||
m.Group("/hooks", func() {
|
||||
m.Combo("").Get(repo.ListHooks).
|
||||
Post(bind(api.CreateHookOption{}), repo.CreateHook)
|
||||
|
|
Loading…
Reference in New Issue