mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: remove awaits
This commit is contained in:
parent
af83152997
commit
7f09a7796f
8 changed files with 72 additions and 142 deletions
|
@ -44,10 +44,10 @@ const addGameToLibrary = async (
|
|||
});
|
||||
}
|
||||
|
||||
updateLocalUnlockedAchivements(objectID);
|
||||
|
||||
const game = await gameRepository.findOne({ where: { objectID } });
|
||||
|
||||
updateLocalUnlockedAchivements(game!);
|
||||
|
||||
createGame(game!).catch(() => {});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue