diff --git a/services/cache.py b/services/cache.py index c57a603b..bb8f435c 100644 --- a/services/cache.py +++ b/services/cache.py @@ -104,7 +104,7 @@ async def get_cached_topic_by_slug(slug: str, get_with_stat): if result: topic = result if isinstance(result, Topic) else result[0] if topic: - await cache_topic(topic) + await cache_topic(topic.dict()) return topic