Skip to content

Commit

Permalink
Merge pull request #3658 from nulib/3650-fix-file-sets-route
Browse files Browse the repository at this point in the history
Fix typo in API route.
  • Loading branch information
mathewjordan authored Nov 9, 2023
2 parents b2f2875 + e318894 commit 6b7e083
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6b7e083

Please sign in to comment.