mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-23 02:41:02 +00:00
fix: user data not being correctly loaded on hydra api setup
This commit is contained in:
@@ -42,6 +42,7 @@ export const getUserData = () => {
|
||||
})
|
||||
.catch(async (err) => {
|
||||
if (err instanceof UserNotLoggedInError) {
|
||||
logger.info("User is not logged in", err);
|
||||
return null;
|
||||
}
|
||||
logger.error("Failed to get logged user");
|
||||
|
||||
Reference in New Issue
Block a user