mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Potentially fix application stuck when Navidrome credential expires (#538)
This commit is contained in:
parent
854b76702b
commit
d806ade84c
2 changed files with 6 additions and 6 deletions
|
|
@ -286,9 +286,10 @@ axiosClient.interceptors.response.use(
|
|||
});
|
||||
|
||||
const serverId = currentServer.id;
|
||||
useAuthStore
|
||||
.getState()
|
||||
.actions.updateServer(serverId, { ndCredential: undefined });
|
||||
useAuthStore.getState().actions.updateServer(serverId, {
|
||||
credential: undefined,
|
||||
ndCredential: undefined,
|
||||
});
|
||||
useAuthStore.getState().actions.setCurrentServer(null);
|
||||
|
||||
// special error to prevent sending a second message, and stop other messages that could be enqueued
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue