From 9f9a4eba18ba42d1b38070128ed850c4d5789475 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:12:17 -0300 Subject: [PATCH] feat: remove wine prefix on pre search --- src/main/services/achievements/merge-achievements.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/main/services/achievements/merge-achievements.ts b/src/main/services/achievements/merge-achievements.ts index 41bf575a..67dd5c5b 100644 --- a/src/main/services/achievements/merge-achievements.ts +++ b/src/main/services/achievements/merge-achievements.ts @@ -119,14 +119,10 @@ export const mergeAchievements = async ( const mergedLocalAchievements = unlockedAchievements.concat(newAchievements); if (game.remoteId) { - await HydraApi.put( - "/profile/games/achievements", - { - id: game.remoteId, - achievements: mergedLocalAchievements, - }, - { needsSubscription: true } - ) + await HydraApi.put("/profile/games/achievements", { + id: game.remoteId, + achievements: mergedLocalAchievements, + }) .then((response) => { return saveAchievementsOnLocal( response.objectId,