Beautiful Open-Source Form Builder
fix google sheet image url (#522)
Chirag Chhatrala0a9400492674
diff --git a/app/Integrations/Google/Sheets/SpreadsheetManager.php b/app/Integrations/Google/Sheets/SpreadsheetManager.phpindex 5c674ad8d..77e73bce8 100644--- a/app/Integrations/Google/Sheets/SpreadsheetManager.php+++ b/app/Integrations/Google/Sheets/SpreadsheetManager.php@@ -129,7 +129,7 @@ class SpreadsheetManagerpublic function buildRow(array $submissionData): array{- $formatter = (new FormSubmissionFormatter($this->integration->form, $submissionData))->outputStringsOnly();+ $formatter = (new FormSubmissionFormatter($this->integration->form, $submissionData))->useSignedUrlForFiles()->outputStringsOnly();$fields = $formatter->getFieldsWithValue();diff --git a/app/Service/Forms/FormSubmissionFormatter.php b/app/Service/Forms/FormSubmissionFormatter.phpindex a9a2465c5..b21317704 100644--- a/app/Service/Forms/FormSubmissionFormatter.php+++ b/app/Service/Forms/FormSubmissionFormatter.php@@ -145,7 +145,7 @@ class FormSubmissionFormatter} else {$returnArray[$field['name']] = $val;}- } elseif ($field['type'] == 'files') {+ } elseif (in_array($field['type'], ['files', 'signature'])) {if ($this->outputStringsOnly) {$formId = $this->form->id;$returnArray[$field['name']] = implode(@@ -219,7 +219,7 @@ class FormSubmissionFormatter} else {$field['value'] = $val;}- } elseif ($field['type'] == 'files') {+ } elseif (in_array($field['type'], ['files', 'signature'])) {if ($this->outputStringsOnly) {$formId = $this->form->id;$field['value'] = implode(