Fixed error in avatar cache

This commit is contained in:
Liam 2022-10-20 16:02:53 +01:00
parent bbff99aff0
commit e3a90c33f4

@ -26,7 +26,7 @@ export default async function handler(req, res) {
fs.writeFileSync(imagePath, buffer);
res.setHeader("Content-Type", "image/jpg");
res.send(buffer);
console.log('Steam Avatar Cache - Added avatar "' + mapHash + '"');
console.log('Steam Avatar Cache - Added avatar "' + steamId + '"');
return;
}
const buffer = fs.readFileSync(imagePath);