This commit is contained in:
Lera Elvoé 2025-07-02 20:46:48 +03:00
parent 56c531b64e
commit c41e0cfc0c
Signed by: yagich
SSH Key Fingerprint: SHA256:6xjGb6uA7lAVcULa7byPEN//rQ0wPoG+UzYVMfZnbvc

View File

@ -25,7 +25,7 @@ def thread_updates(thread_id):
if not new_post: if not new_post:
return {'status': 'none'} 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} return {'status': 'new_post', 'url': url}