mirror of
1
Fork 0

Revert "fix GET /repos/{owner}/{repo}/issues/comments/{id}/reactions"

This reverts commit 585f74c2ca.
This commit is contained in:
Loïc Dachary 2023-11-26 06:33:44 +01:00
parent 5209a09375
commit 3869f80b52
No known key found for this signature in database
GPG Key ID: 992D23B392F9E4F2
1 changed files with 0 additions and 6 deletions

View File

@ -61,12 +61,6 @@ func GetIssueCommentReactions(ctx *context.APIContext) {
if err := comment.LoadIssue(ctx); err != nil {
ctx.Error(http.StatusInternalServerError, "comment.LoadIssue", err)
return
}
if comment.Issue.RepoID != ctx.Repo.Repository.ID {
ctx.NotFound()
return
}
if !ctx.Repo.CanReadIssuesOrPulls(comment.Issue.IsPull) {