diff --git a/epictrack-api/src/api/services/event.py b/epictrack-api/src/api/services/event.py index 67a431a1f..e3e9126f7 100644 --- a/epictrack-api/src/api/services/event.py +++ b/epictrack-api/src/api/services/event.py @@ -1136,8 +1136,8 @@ def _process_actions(cls, event: Event, outcome_id: int = None) -> None: db.session.query(ActionConfiguration) .join(Action, Action.id == ActionConfiguration.action_id) .filter( - ActionConfiguration.outcome_configuration_id == outcome_id and - ActionConfiguration.is_active is True and + ActionConfiguration.outcome_configuration_id == outcome_id, + ActionConfiguration.is_active is True, ActionConfiguration.is_deleted is False ) .order_by(ActionConfiguration.sort_order)