feat: use uppercase

This commit is contained in:
Zamitto
2024-10-01 23:53:37 -03:00
parent 8f9508c00e
commit 6a0f47eacb
2 changed files with 11 additions and 3 deletions

View File

@@ -67,7 +67,10 @@ const getGameAchievements = async (
.map((achievement) => {
const unlockedAchiement = unlockedAchievements.find(
(localAchievement) => {
return localAchievement.name == achievement.name;
return (
localAchievement.name.toUpperCase() ==
achievement.name.toUpperCase()
);
}
);