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 41c7f12 commit c8a452fCopy full SHA for c8a452f
lang/en/github-project.php
@@ -10,6 +10,7 @@
10
'denied' => 'The event was denied.',
11
'action_not_found' => 'Not an action event.',
12
'missing_fields' => 'Missing required fields.',
13
+ 'missing_field_template' => 'Missing field template.',
14
'status_comment_disabled' => 'Status comment is disabled.',
15
],
16
src/Services/WebhookService.php
@@ -58,6 +58,13 @@ public function validatePayload(array $payload): ?JsonResponse
58
);
59
}
60
61
+ if (view()->exists('github-project::md.fields.'.$fieldData['field_type'])) {
62
+ return response()->json(
63
+ ['message' => __('github-project::github-project.error.event.missing_field_template')],
64
+ 400
65
+ );
66
+ }
67
+
68
return null;
69
70
0 commit comments