Update userRepository.js
This commit is contained in:
parent
e089957db7
commit
8e0a1ab673
@ -6,7 +6,7 @@ const { DefaultError } = require("../errors/errors")
|
||||
async function getSkins(uuid) {
|
||||
try {
|
||||
const sql = `
|
||||
SELECT t.hash, t.url, ps.variant, ps.active
|
||||
SELECT t.hash, t.url, ps.variant, ps.isSelected
|
||||
FROM playersSkins ps
|
||||
JOIN textures t ON ps.skinHash = t.hash
|
||||
WHERE ps.playerUuid = ?
|
||||
@ -21,7 +21,7 @@ async function getSkins(uuid) {
|
||||
async function getCapes(uuid) {
|
||||
try {
|
||||
const sql = `
|
||||
SELECT t.hash, t.url, t.alias, pc.active
|
||||
SELECT t.hash, t.url, t.alias, pc.isSelected
|
||||
FROM playersCapes pc
|
||||
JOIN textures t ON pc.capeHash = t.hash
|
||||
WHERE pc.playerUuid = ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user