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