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); const mergedLocalAchievements = unlockedAchievements.concat(newAchievements);
if (game.remoteId) { if (game.remoteId) {
await HydraApi.put( await HydraApi.put("/profile/games/achievements", {
"/profile/games/achievements",
{
id: game.remoteId, id: game.remoteId,
achievements: mergedLocalAchievements, achievements: mergedLocalAchievements,
}, })
{ needsSubscription: true }
)
.then((response) => { .then((response) => {
return saveAchievementsOnLocal( return saveAchievementsOnLocal(
response.objectId, response.objectId,