feat: refactor

This commit is contained in:
Zamitto 2024-07-02 23:31:07 -03:00
parent b8bd786c45
commit aa253466a3
12 changed files with 19 additions and 19 deletions

View file

@ -20,7 +20,7 @@ const removeRemoveGameFromLibrary = async (gameId: number) => {
const game = await gameRepository.findOne({ where: { id: gameId } });
if (game?.remoteId) {
HydraApi.delete(`/games/${game.remoteId}`).catch();
HydraApi.delete(`/games/${game.remoteId}`).catch(() => {});
}
};