Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 46fb5b5

Browse files
committed
Don't send duplicate comment body.
When adding a PR review comment, don't send the `body` twice, as it causes the body to be repeated in the comment itself and the containing review. Fixes #2170
1 parent 11c9d34 commit 46fb5b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/GitHub.InlineReviews/Services/PullRequestSessionService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,6 @@ public async Task<PullRequestDetailModel> PostStandaloneReviewComment(
649649

650650
var addReview = new AddPullRequestReviewInput
651651
{
652-
Body = body,
653652
CommitOID = commitId,
654653
Event = Octokit.GraphQL.Model.PullRequestReviewEvent.Comment,
655654
PullRequestId = new ID(pullRequestId),

0 commit comments

Comments
 (0)