We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4a5118 commit ccfc74fCopy full SHA for ccfc74f
src/Services/WebhookService.php
@@ -85,10 +85,10 @@ public function validatePayload(array $payload): ?JsonResponse
85
*/
86
protected function isStatusCommentEnabled(array $payload): bool
87
{
88
- $fieldType = $payload['changes']['field_value']['field_type'] ?? '';
+ $fieldType = $payload['changes']['field_value']['field_name'] ?? '';
89
90
return !((string) $fieldType === 'Status'
91
- && (bool) config('github-project.enable_status_comment') === false
+ && !config('github-project.enable_status_comment')
92
);
93
}
94
0 commit comments