minor fixes

This commit is contained in:
2022-09-14 18:56:49 +03:00
parent e4a6735199
commit 6b4c00d9e7
3 changed files with 16 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ from services.zine.shoutscache import ShoutsCache
@query.field("topicsAll")
async def topics_all(_, info):
async def topics_all(_, _info):
topics = await TopicStorage.get_topics_all()
for topic in topics:
topic.stat = await TopicStat.get_stat(topic.slug)