From e3a90c33f41f8e2a1604a61cbc694f48bf638334 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Thu, 20 Oct 2022 16:02:53 +0100 Subject: [PATCH] Fixed error in avatar cache --- pages/api/steamavatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/steamavatar.js b/pages/api/steamavatar.js index 45f120e..44867a0 100644 --- a/pages/api/steamavatar.js +++ b/pages/api/steamavatar.js @@ -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);