Skip to content

Commit 4511203

Browse files
committed
fix: streamline view rendering in WebhookAction
1 parent 05a1889 commit 4511203

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Actions/WebhookAction.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ public function __invoke(): JsonResponse
3535
return $validationResponse;
3636
}
3737

38-
$message = view(
39-
'github-project::md.comment',
40-
compact('payload')
41-
)->render();
38+
$message = view('github-project::md.comment', compact('payload'))->render();
4239

4340
$this->webhookService->commentOnNode((string) $payload['projects_v2_item']['content_node_id'], $message);
4441

0 commit comments

Comments
 (0)