File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -399,6 +399,8 @@ func GetCommentReactions(ctx *context.APIContext, form api.CommentReactionList)
399
399
// swagger:operation GET /repos/{owner}/{repo}/issues/{index}/comments/{id}/reactions issue issueGetCommentReactions
400
400
// ---
401
401
// summary: Return all reactions of a specific comment
402
+ // consumes:
403
+ // - application/json
402
404
// produces:
403
405
// - application/json
404
406
// parameters:
@@ -414,7 +416,7 @@ func GetCommentReactions(ctx *context.APIContext, form api.CommentReactionList)
414
416
// required: true
415
417
// - name: index
416
418
// in: path
417
- // description: this parameter is ignored
419
+ // description: index of the issue
418
420
// type: integer
419
421
// required: true
420
422
// - name: id
@@ -446,7 +448,7 @@ func GetCommentReactions(ctx *context.APIContext, form api.CommentReactionList)
446
448
ctx .Error (500 , "FindReactionsOptions" , err )
447
449
return
448
450
} else if rl == nil {
449
- ctx .NotFound ("" )
451
+ ctx .NotFound ("No Reactions Found " )
450
452
return
451
453
}
452
454
You can’t perform that action at this time.
0 commit comments