issue#842-fix
All checks were successful
Deploy on push / deploy (push) Successful in 1m9s

This commit is contained in:
Untone 2024-06-09 14:02:24 +03:00
parent e58fbe263f
commit 51f56c0f1f

View File

@ -104,7 +104,7 @@ async def get_cached_topic_by_slug(slug: str, get_with_stat):
if result: if result:
topic = result if isinstance(result, Topic) else result[0] topic = result if isinstance(result, Topic) else result[0]
if topic: if topic:
await cache_topic(topic) await cache_topic(topic.dict())
return topic return topic