Skip to content

Commit

Permalink
Update spreadsheet duplicate endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: Ayoub LABIDI <ayoub.labidi@protonmail.com>
  • Loading branch information
ayolab committed Feb 24, 2025
1 parent f03e6f9 commit 98df7a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/rest-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export function duplicateSpreadsheetConfig(sourceCaseUuid: UUID, parentDirectory
if (parentDirectoryUuid) {
queryParams.append('parentDirectoryUuid', parentDirectoryUuid);
}
const url = `${PREFIX_EXPLORE_SERVER_QUERIES}/v1/explore/spreadsheet-configs/duplicate?${queryParams.toString()}`;
const url = `${PREFIX_EXPLORE_SERVER_QUERIES}/v1/explore/spreadsheet-configs?${queryParams.toString()}`;

console.debug(url);

Expand All @@ -451,7 +451,7 @@ export function duplicateSpreadsheetConfigCollection(sourceCaseUuid: UUID, paren
if (parentDirectoryUuid) {
queryParams.append('parentDirectoryUuid', parentDirectoryUuid);
}
const url = `${PREFIX_EXPLORE_SERVER_QUERIES}/v1/explore/spreadsheet-config-collections/duplicate?${queryParams.toString()}`;
const url = `${PREFIX_EXPLORE_SERVER_QUERIES}/v1/explore/spreadsheet-config-collections?${queryParams.toString()}`;

console.debug(url);

Expand Down

0 comments on commit 98df7a2

Please sign in to comment.