From 7018e8c49798d0092aab3d201a1c81d5a255f1e9 Mon Sep 17 00:00:00 2001 From: azures04 Date: Fri, 23 Jan 2026 21:30:41 +0100 Subject: [PATCH] Update userRepository.js --- repositories/userRepository.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repositories/userRepository.js b/repositories/userRepository.js index 4379101..a2b258b 100644 --- a/repositories/userRepository.js +++ b/repositories/userRepository.js @@ -8,7 +8,7 @@ async function getSkins(uuid) { const sql = ` SELECT t.hash, t.url, ps.variant, ps.isSelected FROM playersSkins ps - JOIN textures t ON ps.skinHash = t.hash + JOIN textures t ON ps.assetHash = t.hash WHERE ps.playerUuid = ? ` const rows = await database.query(sql, [uuid]) @@ -23,7 +23,7 @@ async function getCapes(uuid) { const sql = ` SELECT t.hash, t.url, t.alias, pc.isSelected FROM playersCapes pc - JOIN textures t ON pc.capeHash = t.hash + JOIN textures t ON pc.assetHash = t.hash WHERE pc.playerUuid = ? ` const rows = await database.query(sql, [uuid])