diff --git a/repositories/userRepository.js b/repositories/userRepository.js index b6b3113..7b47005 100644 --- a/repositories/userRepository.js +++ b/repositories/userRepository.js @@ -7,7 +7,7 @@ async function getSkins(uuid) { try { const sql = ` SELECT t.uuid as textureUuid, t.hash, t.url, ps.variant, ps.isSelected - FROM playerSkins ps + FROM playersSkins ps JOIN textures t ON ps.assetHash = t.hash WHERE ps.playerUuid = ? ` @@ -22,7 +22,7 @@ async function getCapes(uuid) { try { const sql = ` SELECT t.uuid as textureUuid, t.hash, t.url, t.alias, pc.isSelected - FROM playerCapes pc + FROM playersCapes pc JOIN textures t ON pc.assetHash = t.hash WHERE pc.playerUuid = ? `