fixed cape upload

This commit is contained in:
Gilles Lazures 2026-01-18 23:47:29 +01:00
parent 308c3b5479
commit c96e728228

View File

@ -135,7 +135,7 @@ async function uploadCape(fileObject, alias = null) {
throw new DefaultError(409, "Cape already existing.")
}
const finalPath = path.join(process.cwd(), "data/textures", `${hash}.png`)
const finalPath = path.join(process.cwd(), "data/textures", `${hash}`)
await fs.rename(fileObject.path, finalPath)