Skip to content

Commit 081a2bf

Browse files
authored
fixed share download (#86)
1 parent ceb0866 commit 081a2bf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/api/filesAPI.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ export const downloadPublicFileAPI = async (
117117
fileID: string,
118118
tempToken: string
119119
) => {
120-
await getUserToken();
121-
122-
// TODO: Change this
123120
const url = `${getBackendURL()}/file-service/public/download/${fileID}/${tempToken}`;
124121

125122
const link = document.createElement("a");

0 commit comments

Comments
 (0)