feat: open checkout page

This commit is contained in:
Zamitto
2024-10-21 15:30:38 -03:00
parent 6ef1135ba2
commit 21fecb2c4e
6 changed files with 32 additions and 8 deletions

View File

@@ -119,12 +119,6 @@ export const mergeAchievements = async (
const mergedLocalAchievements = unlockedAchievements.concat(newAchievements);
if (game.remoteId) {
achievementsLogger.log(
"Syncing achievements with cloud",
game.title,
game.objectID,
game.remoteId
);
await HydraApi.put(
"/profile/games/achievements",
{
@@ -142,7 +136,7 @@ export const mergeAchievements = async (
);
})
.catch((err) => {
if (err! instanceof SubscriptionRequiredError) {
if (!(err instanceof SubscriptionRequiredError)) {
achievementsLogger.error(err);
}