Skip to content

Commit

Permalink
Permissions bug fix for webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantkoenig authored and bkcsoft committed Dec 28, 2016
1 parent c22f911 commit 35d9378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Combo("/:id").Get(repo.GetHook).
Patch(bind(api.EditHookOption{}), repo.EditHook).
Delete(repo.DeleteHook)
})
}, reqRepoWriter())
m.Group("/collaborators", func() {
m.Get("", repo.ListCollaborators)
m.Combo("/:collaborator").Get(repo.IsCollaborator).
Expand Down

0 comments on commit 35d9378

Please sign in to comment.