From c41e0cfc0cc91784b7a0ca0da473a7f361fe1200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Wed, 2 Jul 2025 20:46:48 +0300 Subject: [PATCH] 3.11 --- app/routes/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/api.py b/app/routes/api.py index 6c141ab..4f75d27 100644 --- a/app/routes/api.py +++ b/app/routes/api.py @@ -25,7 +25,7 @@ def thread_updates(thread_id): if not new_post: return {'status': 'none'} - url = url_for('threads.thread', slug=thread.slug, after=new_post['id'], _anchor=f'post-{new_post['id']}') + url = url_for('threads.thread', slug=thread.slug, after=new_post['id'], _anchor=f"post-{new_post['id']}") return {'status': 'new_post', 'url': url}