Update userRepository.js

This commit is contained in:
Gilles Lazures 2026-01-23 23:13:03 +01:00
parent dbcb436c9f
commit b6ad724602

View File

@ -665,7 +665,7 @@ async function setSkin(uuid, hash, variant) {
VALUES (?, ?, ?, 1)
ON DUPLICATE KEY UPDATE isSelected = 1, variant = VALUES(variant)
`
await database.query(upsertSql, [uuid, hash, variant.toLowerCase()])
await database.query(upsertSql, [uuid, hash, variant.toUpperCase()])
return true
} catch (error) {