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 cd21bc6 commit 3f0efdcCopy full SHA for 3f0efdc
routers/api/v1/api.go
@@ -386,7 +386,8 @@ func RegisterRoutes(m *macaron.Macaron) {
386
Patch(reqToken(), bind(api.EditIssueOption{}), repo.EditIssue)
387
388
m.Group("/comments", func() {
389
- m.Combo("").Get(repo.ListIssueComments).Post(bind(api.CreateIssueCommentOption{}), repo.CreateIssueComment)
+ m.Combo("").Get(repo.ListIssueComments).
390
+ Post(reqToken(), bind(api.CreateIssueCommentOption{}), repo.CreateIssueComment)
391
m.Combo("/:id", reqToken()).Patch(bind(api.EditIssueCommentOption{}), repo.EditIssueComment).
392
Delete(repo.DeleteIssueComment)
393
})
0 commit comments