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