mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-08 08:33:45 +01:00
Fix incorrect message when marking thread as Changes Needed
This commit is contained in:
parent
a9d31590e8
commit
031c3c4684
@ -180,7 +180,7 @@ def check_package_on_submit(package_id: int):
|
|||||||
|
|
||||||
msg = _check_package(package)
|
msg = _check_package(package)
|
||||||
if msg:
|
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()
|
system_user = get_system_user()
|
||||||
post_to_approval_thread(package, system_user, marked, is_status_update=True, create_thread=True)
|
post_to_approval_thread(package, system_user, marked, is_status_update=True, create_thread=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user