fix: signed url for webhooks (#325)

This commit is contained in:
Favour Olayinka 2024-02-20 12:49:30 +01:00 committed by GitHub
parent 3fd5077491
commit e8aa1ac103
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@ abstract class AbstractWebhookHandler
*/
protected function getWebhookData(): array
{
$formatter = (new FormSubmissionFormatter($this->form, $this->data))->showHiddenFields();
$formatter = (new FormSubmissionFormatter($this->form, $this->data))
->useSignedUrlForFiles()
->showHiddenFields()
;
$formattedData = [];
foreach ($formatter->getFieldsWithValue() as $field) {