Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 46047be

Browse files
author
Adam Warner (work)
committed
payload.comment.body not payload.issues.body
1 parent 5377a89 commit 46047be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Matterhook.NET/Controllers/GitHubHookController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ private static MattermostMessage GetMessageIssueComment(IssueCommentEvent payloa
334334
if (payload.action == "created")
335335
{
336336
retVal.Text = $"{userMd} commented on issue {titleMd} in {repoMd}";
337-
if (!string.IsNullOrEmpty(payload.issue.body))
337+
if (!string.IsNullOrEmpty(payload.comment.body))
338338
{
339339
att = new MattermostAttachment
340340
{

0 commit comments

Comments
 (0)