From 3516ab3364d744237d126535d7b2ecf34910c1d4 Mon Sep 17 00:00:00 2001 From: Isuru Gunawardana Date: Tue, 25 Jul 2023 21:24:19 -0700 Subject: [PATCH] fixing build failed in common folder comparision --- services/core-web/common/constants/API.js | 3 +++ services/minespace-web/common/constants/API.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/services/core-web/common/constants/API.js b/services/core-web/common/constants/API.js index 77582e1d9e..cae3844fd1 100644 --- a/services/core-web/common/constants/API.js +++ b/services/core-web/common/constants/API.js @@ -136,6 +136,9 @@ export const PROJECT_SUMMARY_DOCUMENTS = ({ projectGuid, projectSummaryGuid, min `/projects/${projectGuid}/project-summaries/${projectSummaryGuid}/documents?${queryString.stringify( { mine_guid: mineGuid } )}`; +//New file version upload +export const NEW_VERSION_PROJECT_SUMMARY_DOCUMENTS = ({ mineGuid, mineDocumentGuid }) => + `/mines/${mineGuid}/documents/${mineDocumentGuid}/versions/upload`; export const PROJECT_SUMMARY_DOCUMENT = ( projectGuid, projectSummaryGuid, diff --git a/services/minespace-web/common/constants/API.js b/services/minespace-web/common/constants/API.js index 782785cbb2..cae3844fd1 100644 --- a/services/minespace-web/common/constants/API.js +++ b/services/minespace-web/common/constants/API.js @@ -136,7 +136,7 @@ export const PROJECT_SUMMARY_DOCUMENTS = ({ projectGuid, projectSummaryGuid, min `/projects/${projectGuid}/project-summaries/${projectSummaryGuid}/documents?${queryString.stringify( { mine_guid: mineGuid } )}`; -//New version upload +//New file version upload export const NEW_VERSION_PROJECT_SUMMARY_DOCUMENTS = ({ mineGuid, mineDocumentGuid }) => `/mines/${mineGuid}/documents/${mineDocumentGuid}/versions/upload`; export const PROJECT_SUMMARY_DOCUMENT = (