From e9967fa22781d922ba4eb8fb44fe72d200ac4b14 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 10 Nov 2025 21:04:10 +0000
Subject: [PATCH] =IconsManager.php update

---
 inc/rest/routes/BioRoutes.php |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/inc/rest/routes/BioRoutes.php b/inc/rest/routes/BioRoutes.php
index a265186..685c0b2 100644
--- a/inc/rest/routes/BioRoutes.php
+++ b/inc/rest/routes/BioRoutes.php
@@ -225,9 +225,7 @@
         if (!$this->checkUser($user_id)) {
             return [];
         }
-        //TODO: Check we're clearing this cache
-        $key = sprintf('user_%c_thumbnail_data', $user_id);
-        $cache = $this->cache->get($key);
+        $cache = $this->cache->get($user_id);
         if ($cache) {
             return $cache;
         }
@@ -261,7 +259,7 @@
             'type'          => jvbArtistType($link),
         ];
 
-        $this->cache->set($key, $data);
+        $this->cache->set($user_id, $data);
 
         return $data;
     }

--
Gitblit v1.10.0