feat: pass headers correctly to downloadURL

This commit is contained in:
Zamitto 2024-08-05 15:21:05 -03:00
parent 070340b34f
commit e1ef8a9193
4 changed files with 18 additions and 9 deletions

View file

@ -26,6 +26,8 @@ const signOut = async (_event: Electron.IpcMainInvokeEvent) => {
/* Disconnects libtorrent */
PythonInstance.killTorrent();
HydraApi.handleSignOut();
await Promise.all([
databaseOperations,
HydraApi.post("/auth/logout").catch(() => {}),