viewed fixed

This commit is contained in:
2022-11-23 14:30:44 +03:00
parent 2cb152bdb1
commit c6128ac641
6 changed files with 24 additions and 22 deletions

View File

@@ -31,6 +31,7 @@ def apply_filters(q, filters, user=None):
q = q.filter(Shout.createdAt > before)
return q
@query.field("loadShout")
async def load_shout(_, info, slug):
with local_session() as session: