Skip to content

Commit 50e05ea

Browse files
committed
Merge branch 'main' of https://github.com/dataease/SQLBot
2 parents 72292cb + 2f1b477 commit 50e05ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/common/core/sqlbot_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ async def wrapper(*args, **kwargs):
106106
cacheName=cacheName,
107107
keyExpression=keyExpression,
108108
)
109-
ket_list = cache_key if isinstance(cache_key, list) else [cache_key]
109+
key_list = cache_key if isinstance(cache_key, list) else [cache_key]
110110
backend = FastAPICache.get_backend()
111-
for temp_cache_key in ket_list:
111+
for temp_cache_key in key_list:
112112
if await backend.get(temp_cache_key):
113113
if settings.CACHE_TYPE.lower() == "redis":
114114
redis = backend.redis

0 commit comments

Comments
 (0)