feat: update endpoints

This commit is contained in:
Zamitto 2024-08-19 19:55:27 -03:00
parent 5369274c6e
commit bde396c7db
9 changed files with 9 additions and 9 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(`/profile/games/${game.remoteId}`).catch(() => {});
}
};