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 = (