From 031c3c468468cf00236e9dbac4d48cad407f7150 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 23 Jul 2024 22:23:18 +0100 Subject: [PATCH] Fix incorrect message when marking thread as Changes Needed --- app/tasks/pkgtasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tasks/pkgtasks.py b/app/tasks/pkgtasks.py index 2cbc4da8..4f902d0d 100644 --- a/app/tasks/pkgtasks.py +++ b/app/tasks/pkgtasks.py @@ -180,7 +180,7 @@ def check_package_on_submit(package_id: int): msg = _check_package(package) if msg: - marked = f"Marked {package.title} as Changed Needed" + marked = f"Marked {package.title} as {PackageState.CHANGES_NEEDED.value}" system_user = get_system_user() post_to_approval_thread(package, system_user, marked, is_status_update=True, create_thread=True)