Update userService.js

This commit is contained in:
Gilles Lazures 2026-01-23 21:41:32 +01:00
parent 6f3231aee7
commit f9270c1f9c

View File

@ -20,7 +20,7 @@ async function getSkins(uuid) {
return {
code: 200,
data: rawSkins.map(r => ({
id: r.hash,
id: r.textureUuid,
state: r.active === 1 ? "ACTIVE" : "INACTIVE",
url: r.url,
variant: r.variant || "CLASSIC"
@ -38,7 +38,7 @@ async function getCapes(uuid) {
return {
code: 200,
data: rawCapes.map(r => ({
id: r.hash,
id: r.textureUuid,
state: r.active === 1 ? "ACTIVE" : "INACTIVE",
url: r.url,
alias: r.alias || "LentiaCustomCape"