From 5943f9bf81fa529d75de7d2e1647d5a148b17a57 Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 5 Mar 2024 17:59:00 +0300 Subject: [PATCH] update-shout-fix-3 --- resolvers/editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resolvers/editor.py b/resolvers/editor.py index 53b22a8f..1fef175a 100644 --- a/resolvers/editor.py +++ b/resolvers/editor.py @@ -187,6 +187,7 @@ async def update_shout(_, info, shout_id, shout_input=None, publish=False): with local_session() as session: author = session.query(Author).filter(Author.user == user_id).first() if author: + logger.info(f'author detected {author.dict()}') shout_by_id = session.query(Shout).filter(Shout.id == shout_id).first() if not shout_by_id: return {'error': 'shout not found'}