Skip to content

Commit 339faed

Browse files
committed
fix: update condition to check field type for status comments
1 parent 424de43 commit 339faed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Services/WebhookService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ protected function isStatusCommentEnabled(array $payload): bool
9696
$fieldType = $payload['changes']['field_value']['field_type'] ?? '';
9797

9898
if ((string) $fieldType === 'Status'
99-
&& !z('github-project.enable_status_comment')
99+
&& !config('github-project.enable_status_comment')
100100
) {
101101
return false;
102102
}

0 commit comments

Comments
 (0)