Skip to content

Commit

Permalink
Update useGetFile.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandostaler authored Sep 9, 2024
1 parent cbadf6f commit 537f7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/AppWriteAPI/useGetFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const useGetFile = (isLoginProcess: boolean) => {
return reLogin("Response not ok");
}
return res.json();
}).catch((reason) => { reLogin(reason) };);
}).catch((reason) => { reLogin(reason); });
}
return getFile;
};
Expand Down

0 comments on commit 537f7e2

Please sign in to comment.