Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DaymasS committed Nov 7, 2024
1 parent e51535c commit 69d74c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/apps/ApplicationFrame.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ const getToken = async () => {
compareLists(authItem.current_scopes, scopes.value) &&
(!authItem.expires || new Date(authItem.expires + 'Z') > new Date())
) {
setupAuth(authItem.token);
setupAuth(authItem.token ?? undefined);
const response = await apiClient.GET('/auth/me');
setupAuth(LocalStorage.get(LocalStorageItem.Token));
setupAuth(LocalStorage.get(LocalStorageItem.Token) ?? undefined);
if (response.response.status === 200) {
return authItem.token;
}
Expand Down

0 comments on commit 69d74c7

Please sign in to comment.