This commit is contained in:
2022-07-21 19:15:05 +03:00
parent 368b7e6c5a
commit 364fdd1cd6
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ class Shout(Base):
oid: str = Column(String, nullable=True)
@property
async def stat(self) -> Dict:
async def stat(self):
return {
"viewed": await ViewedStorage.get_shout(self.slug),
"reacted": await ReactionsStorage.by_shout(self.slug)