From 081a2bf416decf3aa2c6f68fd811c07fd417f750 Mon Sep 17 00:00:00 2001 From: subnub <44621867+subnub@users.noreply.github.com> Date: Wed, 5 Mar 2025 23:58:49 -0500 Subject: [PATCH] fixed share download (#86) --- src/api/filesAPI.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/api/filesAPI.ts b/src/api/filesAPI.ts index 4c58e3a..98974ab 100644 --- a/src/api/filesAPI.ts +++ b/src/api/filesAPI.ts @@ -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");