fixed share download (#86)

This commit is contained in:
subnub
2025-03-05 23:58:49 -05:00
committed by GitHub
parent ceb0866174
commit 081a2bf416
-3
View File
@@ -117,9 +117,6 @@ export const downloadPublicFileAPI = async (
fileID: string,
tempToken: string
) => {
await getUserToken();
// TODO: Change this
const url = `${getBackendURL()}/file-service/public/download/${fileID}/${tempToken}`;
const link = document.createElement("a");