From e31889483ece3d02d6ce0886cc4324077a89273e Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 9 Nov 2023 09:55:05 -0500 Subject: [PATCH] Fix typo in API route. --- app/assets/js/components/Work/Fileset/ActionButtons/Access.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/js/components/Work/Fileset/ActionButtons/Access.jsx b/app/assets/js/components/Work/Fileset/ActionButtons/Access.jsx index c931c9a1b..cc310bafa 100644 --- a/app/assets/js/components/Work/Fileset/ActionButtons/Access.jsx +++ b/app/assets/js/components/Work/Fileset/ActionButtons/Access.jsx @@ -29,7 +29,7 @@ export function MediaButtons({ fileSet }) { const handleDownloadMedia = async () => { setDownloadStarted(true); - const dcApiFileSet = `${dataDcApiEndpoint?.dcapiEndpoint?.url}/file-set/${fileSet.id}`; + const dcApiFileSet = `${dataDcApiEndpoint?.dcapiEndpoint?.url}/file-sets/${fileSet.id}`; const uri = `${dcApiFileSet}/download?email=${currentUser?.email}`; try {