new create shout flow

This commit is contained in:
bniwredyc
2023-05-03 17:47:09 +02:00
parent 2f22fd2126
commit 3836674b72
5 changed files with 93 additions and 19 deletions

View File

@@ -169,9 +169,9 @@ class ViewedStorage:
viewed = session.query(
ViewedEntry
).join(
Shout
Shout, Shout.id == ViewedEntry.shout
).join(
User
User, User.id == ViewedEntry.viewer
).filter(
User.slug == viewer,
Shout.slug == shout_slug