From 5ba7f5e3c9ac2615192c5e4d4eff850d75316a11 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 30 May 2024 21:10:16 +0300 Subject: [PATCH] followers-cache-fix-2 --- services/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cache.py b/services/cache.py index b899277a..f1e27891 100644 --- a/services/cache.py +++ b/services/cache.py @@ -87,7 +87,7 @@ async def get_cached_authors_by_ids(authors_ids: List[int]) -> List[Author | dic if isinstance(cached_result, str): author = json.loads(cached_result) if author: - authors.push(author) + authors.append(author) return authors