From ecbeb5b85efcef079b67e3c547c5f45a7dccc0ec Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 26 Feb 2024 11:52:57 +0300 Subject: [PATCH] shout-author-create-fix --- resolvers/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/editor.py b/resolvers/editor.py index b332b0e7..ad00f784 100644 --- a/resolvers/editor.py +++ b/resolvers/editor.py @@ -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 = (