feat: remove awaits

This commit is contained in:
Zamitto 2024-10-06 13:39:26 -03:00
parent af83152997
commit 7f09a7796f
8 changed files with 72 additions and 142 deletions

View file

@ -44,10 +44,10 @@ const addGameToLibrary = async (
});
}
updateLocalUnlockedAchivements(objectID);
const game = await gameRepository.findOne({ where: { objectID } });
updateLocalUnlockedAchivements(game!);
createGame(game!).catch(() => {});
});
};