mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: code review
This commit is contained in:
parent
10d7e0e8aa
commit
d60242a62c
4 changed files with 62 additions and 67 deletions
|
@ -50,7 +50,13 @@ const getUser = async (
|
|||
})
|
||||
);
|
||||
|
||||
return { ...profile, libraryGames, recentGames, friends };
|
||||
return {
|
||||
...profile,
|
||||
libraryGames,
|
||||
recentGames,
|
||||
friends: friends.friends,
|
||||
totalFriends: friends.totalFriends,
|
||||
};
|
||||
} catch (err) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue