shout-author-create-fix
All checks were successful
Deploy on push / deploy (push) Successful in 25s

This commit is contained in:
Untone 2024-02-26 11:52:57 +03:00
parent 33a59a4acc
commit ecbeb5b85e

View File

@ -81,7 +81,7 @@ def create_shout(_, info, inp):
# NOTE: requesting new shout back
shout = session.query(Shout).where(Shout.slug == slug).first()
if shout:
sa = ShoutAuthor(shout=shout.id, author=author.id, auto=True)
sa = ShoutAuthor(shout=shout.id, author=author.id)
session.add(sa)
topics = (