We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a7f59e commit b20f1abCopy full SHA for b20f1ab
routers/api/v1/api.go
@@ -341,7 +341,7 @@ func RegisterRoutes(m *macaron.Macaron) {
341
Post(bind(api.CreateKeyOption{}), repo.CreateDeployKey)
342
m.Combo("/:id").Get(repo.GetDeployKey).
343
Delete(repo.DeleteDeploykey)
344
- })
+ }, reqRepoWriter())
345
m.Group("/issues", func() {
346
m.Combo("").Get(repo.ListIssues).Post(bind(api.CreateIssueOption{}), repo.CreateIssue)
347
m.Group("/comments", func() {
0 commit comments