@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.
@@ -6164,7 +6164,7 @@ var __publicField = (obj, key, value) => {
6164
6164
  throw new Error(`Expected submission with offline_id ${payload.offline_id} to exist`);
6165
6165
  }
6166
6166
  const { values, files } = separateFilesFromValues(payload.values ?? {});
6167
- const updatedSubmission = offline({
6167
+ const updatedSubmission = {
6168
6168
  ...submissionToBeUpdated,
6169
6169
  ...payload,
6170
6170
  // values could also have a partial update
@@ -6172,7 +6172,7 @@ var __publicField = (obj, key, value) => {
6172
6172
  ...submissionToBeUpdated.values,
6173
6173
  ...values
6174
6174
  }
6175
- });
6175
+ };
6176
6176
  this.dispatch(updateFormSubmission(updatedSubmission));
6177
6177
  const promise = this.enqueueRequest({
6178
6178
  description: "Delete user form submissions",