This commit is contained in:
parent
33a59a4acc
commit
ecbeb5b85e
|
@ -81,7 +81,7 @@ def create_shout(_, info, inp):
|
||||||
# NOTE: requesting new shout back
|
# NOTE: requesting new shout back
|
||||||
shout = session.query(Shout).where(Shout.slug == slug).first()
|
shout = session.query(Shout).where(Shout.slug == slug).first()
|
||||||
if shout:
|
if shout:
|
||||||
sa = ShoutAuthor(shout=shout.id, author=author.id, auto=True)
|
sa = ShoutAuthor(shout=shout.id, author=author.id)
|
||||||
session.add(sa)
|
session.add(sa)
|
||||||
|
|
||||||
topics = (
|
topics = (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user