@overmap-ai/core 1.0.63-form-submission-fix.1 → 1.0.63-form-submission-fix.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/overmap-core.js
CHANGED
|
@@ -5546,7 +5546,8 @@ class FormService extends BaseUploadService {
|
|
|
5546
5546
|
url: `/forms/revisions/${revisionId}/attachments/bulk/`,
|
|
5547
5547
|
payload: {
|
|
5548
5548
|
submitted_at: submittedAt,
|
|
5549
|
-
attachments: attachmentPayloads
|
|
5549
|
+
attachments: attachmentPayloads,
|
|
5550
|
+
files: Object.values(filePayloads)
|
|
5550
5551
|
},
|
|
5551
5552
|
blockers: [revisionId],
|
|
5552
5553
|
blocks: offlineFormRevisionAttachments.map((attachment) => attachment.offline_id)
|
|
@@ -5901,7 +5902,8 @@ class FormSubmissionService extends BaseUploadService {
|
|
|
5901
5902
|
url: `/forms/submissions/${submissionId}/attachments/bulk/`,
|
|
5902
5903
|
payload: {
|
|
5903
5904
|
submitted_at: submittedAt,
|
|
5904
|
-
attachments: attachmentPayloads
|
|
5905
|
+
attachments: attachmentPayloads,
|
|
5906
|
+
files: Object.values(filePayloads)
|
|
5905
5907
|
},
|
|
5906
5908
|
blockers: [submissionId],
|
|
5907
5909
|
blocks: offlineFormSubmissionAttachments.map((attachment) => attachment.offline_id)
|