mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
Potentially fix application stuck when Navidrome credential expires (#538)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user