@overmap-ai/core 1.0.46-project-attachments.7 → 1.0.46-project-attachments.8

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.
@@ -7380,9 +7380,9 @@ class DocumentService extends BaseApiService {
7380
7380
  }
7381
7381
  store.dispatch(updateDocuments([document2]));
7382
7382
  const promise = this.enqueueRequest({
7383
- description: "Delete Document",
7383
+ description: "Update Document",
7384
7384
  method: HttpMethod.PATCH,
7385
- url: `/documents/${document2.offline_id}`,
7385
+ url: `/documents/${document2.offline_id}/`,
7386
7386
  payload: document2,
7387
7387
  blockers: [document2.offline_id],
7388
7388
  blocks: [document2.offline_id]
@@ -7421,7 +7421,7 @@ class DocumentService extends BaseApiService {
7421
7421
  }
7422
7422
  store.dispatch(moveDocument({ documentId, targetDocumentId, position }));
7423
7423
  const promise = this.enqueueRequest({
7424
- description: "Delete Document",
7424
+ description: "Move Document",
7425
7425
  method: HttpMethod.PATCH,
7426
7426
  url: `/documents/${documentId}/move/`,
7427
7427
  queryParams: {
@@ -7452,7 +7452,7 @@ class DocumentService extends BaseApiService {
7452
7452
  const promise = this.enqueueRequest({
7453
7453
  description: "Delete Document",
7454
7454
  method: HttpMethod.DELETE,
7455
- url: `/documents/${documentId}`,
7455
+ url: `/documents/${documentId}/`,
7456
7456
  blockers: [documentId],
7457
7457
  blocks: []
7458
7458
  });
@@ -7472,7 +7472,7 @@ class DocumentService extends BaseApiService {
7472
7472
  const result = await this.enqueueRequest({
7473
7473
  description: "Get project documents",
7474
7474
  method: HttpMethod.GET,
7475
- url: `/documents/projects/${activeProjectId}`,
7475
+ url: `/documents/projects/${activeProjectId}/`,
7476
7476
  blockers: [],
7477
7477
  blocks: []
7478
7478
  });