@overmap-ai/core 1.0.46-project-attachments.2 → 1.0.46-project-attachments.3

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.
@@ -7316,11 +7316,12 @@ class DocumentService extends BaseApiService {
7316
7316
  `attempting to update a document with offline_id ${document2.offline_id} that does not exist in store.documents`
7317
7317
  );
7318
7318
  }
7319
- store.dispatch(updateDocuments([documentToBeUpdated]));
7319
+ store.dispatch(updateDocuments([document2]));
7320
7320
  const promise = this.enqueueRequest({
7321
7321
  description: "Delete Document",
7322
7322
  method: HttpMethod.PATCH,
7323
7323
  url: `/documents/${document2.offline_id}`,
7324
+ payload: document2,
7324
7325
  blockers: [document2.offline_id],
7325
7326
  blocks: [document2.offline_id]
7326
7327
  });