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 83343fa commit 2ae5955Copy full SHA for 2ae5955
routers/api/v1/api.go
@@ -674,8 +674,8 @@ func RegisterRoutes(m *macaron.Macaron) {
674
Delete(repo.DeleteIssueCommentDeprecated)
675
m.Combo("/reactions").
676
Get(bind(api.CommentReactionList{}), repo.GetCommentReactions).
677
- Put(reqToken(), api.CommentReaction{}, repo.AddCommentReaction).
678
- Delete(reqToken(), api.CommentReaction{}, repo.DelCommentReaction)
+ Put(reqToken(), bind(api.CommentReaction{}), repo.AddCommentReaction).
+ Delete(reqToken(), bind(api.CommentReaction{}), repo.DelCommentReaction)
679
})
680
681
0 commit comments