mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
feat: remove wine prefix on pre search
This commit is contained in:
parent
3bddd7e76b
commit
9f9a4eba18
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user