This commit is contained in:
parent
e58fbe263f
commit
51f56c0f1f
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user