From 758d8e79c04e265b2ef859a18e1e2a3ad59e89d6 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Tue, 9 Apr 2024 19:55:31 +1200 Subject: [PATCH] bugfix --- app/community/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/community/routes.py b/app/community/routes.py index cb96ebea..88325be6 100644 --- a/app/community/routes.py +++ b/app/community/routes.py @@ -436,7 +436,7 @@ def join_then_add(actor): db.session.commit() flash('You joined ' + community.title) if not community.user_is_banned(current_user): - return redirect(url_for('community.add_post', actor=community.link())) + return redirect(url_for('community.add_discussion_post', actor=community.link())) else: abort(401)