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");