resolvers, orm, migration, schema fixes

This commit is contained in:
2022-08-14 15:48:35 +03:00
parent 3bda452455
commit ab9d03aac6
13 changed files with 211 additions and 207 deletions

View File

@@ -65,9 +65,9 @@ class TopicStat:
"shouts" : len(shouts),
"authors" : len(authors),
"followers" : len(followers),
"viewed": ViewedStorage.get_topic(topic),
"reacted" : ReactedStorage.get_topic(topic),
"rating" : ReactedStorage.get_topic_rating(topic),
"viewed": await ViewedStorage.get_topic(topic),
"reacted" : await ReactedStorage.get_topic(topic),
"rating" : await ReactedStorage.get_topic_rating(topic),
}
@staticmethod