Add hidden data to webhook payload

This commit is contained in:
JhumanJ 2023-01-09 14:12:24 +01:00
parent f5ff94b508
commit 977cd1647a
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class PostFormDataToWebhook implements ShouldQueue
}
private function getWebhookData(FormSubmitted $event): array {
$formatter = (new FormSubmissionFormatter($event->form, $event->data));
$formatter = (new FormSubmissionFormatter($event->form, $event->data))->showHiddenFields();
$formattedData = [];
foreach ($formatter->getFieldsWithValue() as $field) {