From 4f4affaca44415ef575245487b8f83acc7ecba9a Mon Sep 17 00:00:00 2001 From: Untone Date: Sat, 25 Jan 2025 15:19:19 +0300 Subject: [PATCH] cache-invalidate-fix-3 --- resolvers/editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resolvers/editor.py b/resolvers/editor.py index 9bbb6efc..774f7b9c 100644 --- a/resolvers/editor.py +++ b/resolvers/editor.py @@ -335,9 +335,9 @@ async def update_shout(_, info, shout_id: int, shout_input=None, publish=False): sa = ShoutAuthor(shout=shout_id, author=author_id) session.add(sa) session.flush() - logger.info(f"Author link added successfully") + logger.info("Author link added successfully") else: - logger.info(f"Author link already exists") + logger.info("Author link already exists") Shout.update(shout_by_id, shout_input) session.add(shout_by_id)