fix(seeding): make skin cost check case-insensitive

This commit is contained in:
Rico van Zelst
2025-12-05 17:20:34 +01:00
parent 08999d08cd
commit 931eb33e76

View File

@@ -31,7 +31,7 @@ class ChampionSkinSeeder extends Seeder
continue; continue;
} }
if (in_array($skin['cost'], ['Special', 'Battle Pass', 'Sanctum'])) { if (in_array(strtolower($skin['cost']), ['special', 'battle pass', 'sanctum'])) {
$skin['cost'] = 99999; $skin['cost'] = 99999;
} }