From 2f1b477549fa55df4abc4b21dbd3f1d92e4dd641 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 26 Aug 2025 13:49:23 +0800 Subject: [PATCH] fix: Spelling error in the cache component --- backend/common/core/sqlbot_cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/common/core/sqlbot_cache.py b/backend/common/core/sqlbot_cache.py index ec6d5187..6c827207 100644 --- a/backend/common/core/sqlbot_cache.py +++ b/backend/common/core/sqlbot_cache.py @@ -106,9 +106,9 @@ def clear_cache( cacheName=cacheName, keyExpression=keyExpression, ) - ket_list = cache_key if isinstance(cache_key, list) else [cache_key] + key_list = cache_key if isinstance(cache_key, list) else [cache_key] backend = FastAPICache.get_backend() - for temp_cache_key in ket_list: + for temp_cache_key in key_list: if await backend.get(temp_cache_key): if settings.CACHE_TYPE.lower() == "redis": redis = backend.redis