fixed cape upload
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user