Update userRepository.js
This commit is contained in:
parent
cc8e581cbe
commit
4a0fcf65f3
@ -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 = ?
|
||||
`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user