feat: remove wine prefix on pre search

This commit is contained in:
Zamitto 2024-10-28 18:12:17 -03:00
parent 3bddd7e76b
commit 9f9a4eba18

View File

@ -119,14 +119,10 @@ export const mergeAchievements = async (
const mergedLocalAchievements = unlockedAchievements.concat(newAchievements);
if (game.remoteId) {
await HydraApi.put(
"/profile/games/achievements",
{
await HydraApi.put("/profile/games/achievements", {
id: game.remoteId,
achievements: mergedLocalAchievements,
},
{ needsSubscription: true }
)
})
.then((response) => {
return saveAchievementsOnLocal(
response.objectId,