mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
log -> error, remove unnecesary logs
This commit is contained in:
parent
fb584b35a9
commit
63e3b97bca
10 changed files with 9 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ export const authenticationFailure = (currentServer: null | ServerListItem) => {
|
|||
if (currentServer) {
|
||||
const serverId = currentServer.id;
|
||||
const token = currentServer.ndCredential;
|
||||
console.log(`token is expired: ${token}`);
|
||||
console.error(`token is expired: ${token}`);
|
||||
useAuthStore.getState().actions.updateServer(serverId, { ndCredential: undefined });
|
||||
useAuthStore.getState().actions.setCurrentServer(null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue