From d8f164ffc167ffe839440963d16f78e19491a5c3 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 5 Jan 2022 00:27:48 +0000 Subject: [PATCH] Fix thread typo when sending webhook --- app/blueprints/threads/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/threads/__init__.py b/app/blueprints/threads/__init__.py index 9e2826e..88e1c8b 100644 --- a/app/blueprints/threads/__init__.py +++ b/app/blueprints/threads/__init__.py @@ -345,7 +345,7 @@ def new(): if is_review_thread: post_discord_webhook.delay(current_user.username, - "Opened approval thread: {}".format(thread.gcletViewURL(absolute=True)), True) + "Opened approval thread: {}".format(thread.getViewURL(absolute=True)), True) db.session.commit()