Skip to content

Commit

Permalink
Fix typo in API route.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan authored Nov 9, 2023
1 parent b2f2875 commit e318894
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 e318894

Please sign in to comment.