diff --git a/src/backend/app/models/enums.py b/src/backend/app/models/enums.py index 95783d9c43..18bf241406 100644 --- a/src/backend/app/models/enums.py +++ b/src/backend/app/models/enums.py @@ -241,6 +241,8 @@ def get_action_for_status_change(task_status: TaskStatus): return TaskAction.MARKED_BAD case TaskStatus.SPLIT: return TaskAction.SPLIT_NEEDED + case TaskStatus.INVALIDATED: + return TaskAction.MARKED_INVALID class TaskType(IntEnum, Enum):