Skip to content

Commit 5623f8b

Browse files
committed
smal imprufements
1 parent a3a8f37 commit 5623f8b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

routers/api/v1/repo/issue_comment.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ func GetCommentReactions(ctx *context.APIContext, form api.CommentReactionList)
399399
// swagger:operation GET /repos/{owner}/{repo}/issues/{index}/comments/{id}/reactions issue issueGetCommentReactions
400400
// ---
401401
// summary: Return all reactions of a specific comment
402+
// consumes:
403+
// - application/json
402404
// produces:
403405
// - application/json
404406
// parameters:
@@ -414,7 +416,7 @@ func GetCommentReactions(ctx *context.APIContext, form api.CommentReactionList)
414416
// required: true
415417
// - name: index
416418
// in: path
417-
// description: this parameter is ignored
419+
// description: index of the issue
418420
// type: integer
419421
// required: true
420422
// - name: id
@@ -446,7 +448,7 @@ func GetCommentReactions(ctx *context.APIContext, form api.CommentReactionList)
446448
ctx.Error(500, "FindReactionsOptions", err)
447449
return
448450
} else if rl == nil {
449-
ctx.NotFound("")
451+
ctx.NotFound("No Reactions Found")
450452
return
451453
}
452454

0 commit comments

Comments
 (0)