From 3869f80b52ee1f75856fb28e74eef0a2a5e06c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Dachary?= Date: Sun, 26 Nov 2023 06:33:44 +0100 Subject: [PATCH] Revert "fix GET /repos/{owner}/{repo}/issues/comments/{id}/reactions" This reverts commit 585f74c2ca66ed66ba01cee3bcf5f080eb5b5d4f. --- routers/api/v1/repo/issue_reaction.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/routers/api/v1/repo/issue_reaction.go b/routers/api/v1/repo/issue_reaction.go index 12614467bb..b87d636b80 100644 --- a/routers/api/v1/repo/issue_reaction.go +++ b/routers/api/v1/repo/issue_reaction.go @@ -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) {