@overmap-ai/core 1.0.46-project-attachments.3 → 1.0.46-project-attachments.4
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
|
@@ -7299,6 +7299,9 @@ class DocumentService extends BaseApiService {
|
|
|
7299
7299
|
method: HttpMethod.POST,
|
|
7300
7300
|
url: `/projects/${activeProjectId}/create-document/`,
|
|
7301
7301
|
payload: { ...offlineDocument },
|
|
7302
|
+
queryParams: {
|
|
7303
|
+
parent_document: offlineDocument.parent_document ?? void 0
|
|
7304
|
+
},
|
|
7302
7305
|
// if adding as a child of another document, need that document to exist first
|
|
7303
7306
|
blockers: offlineDocument.parent_document ? [offlineDocument.parent_document] : [],
|
|
7304
7307
|
blocks: [offlineDocument.offline_id]
|