update-reaction-fix-3
All checks were successful
Deploy to core / deploy (push) Successful in 1m24s

This commit is contained in:
Untone 2024-02-17 21:44:22 +03:00
parent c6df11dc7d
commit f3df37a41b

View File

@ -101,7 +101,8 @@ async def get_topic(_, _info, slug):
q = add_topic_stat_columns(q)
topics = await get_topics_from_query(q)
return topics[0]
if topics:
return topics[0]
@mutation.field('create_topic')