diff --git a/package-lock.json b/package-lock.json index c568eb1e..eefc67a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2926,9 +2926,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001576", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz", - "integrity": "sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==", + "version": "1.0.30001638", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001638.tgz", + "integrity": "sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==", "dev": true, "funding": [ { @@ -11215,9 +11215,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001576", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz", - "integrity": "sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==", + "version": "1.0.30001638", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001638.tgz", + "integrity": "sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==", "dev": true }, "canvas-fit": { diff --git a/src/app-services/collections/report-configuration-download.ts b/src/app-services/collections/report-configuration-download.ts index 57e1a5ed..8a4338fe 100644 --- a/src/app-services/collections/report-configuration-download.ts +++ b/src/app-services/collections/report-configuration-download.ts @@ -35,7 +35,7 @@ export const useGetReportStatus = ({ projectId, reportConfigId, jobId }: QueryPa export const useInitializeReportDownload = (projectId: string, toastId: string) => { return useMutation({ mutationFn: (reportConfigId: string) => { - const uri = `projects/${projectId}/report_configs/${reportConfigId}/jobs`; + const uri = `/projects/${projectId}/report_configs/${reportConfigId}/jobs`; return apiPost(uri); },