@overmap-ai/core 1.0.63-form-submission-drafts.0 → 1.0.63-form-submission-drafts.1

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.
@@ -6176,7 +6176,7 @@ class FormSubmissionService extends BaseUploadService {
6176
6176
  throw new Error(`Expected submission with offline_id ${payload.offline_id} to exist`);
6177
6177
  }
6178
6178
  const { values, files } = separateFilesFromValues(payload.values ?? {});
6179
- const updatedSubmission = offline({
6179
+ const updatedSubmission = {
6180
6180
  ...submissionToBeUpdated,
6181
6181
  ...payload,
6182
6182
  // values could also have a partial update
@@ -6184,7 +6184,7 @@ class FormSubmissionService extends BaseUploadService {
6184
6184
  ...submissionToBeUpdated.values,
6185
6185
  ...values
6186
6186
  }
6187
- });
6187
+ };
6188
6188
  this.dispatch(updateFormSubmission(updatedSubmission));
6189
6189
  const promise = this.enqueueRequest({
6190
6190
  description: "Delete user form submissions",