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}