Skip to content

Commit

Permalink
Fix incorrect message when marking thread as Changes Needed
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Jul 23, 2024
1 parent a9d3159 commit 031c3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/tasks/pkgtasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 031c3c4

Please sign in to comment.