diff --git a/keep/providers/pagerduty_provider/pagerduty_provider.py b/keep/providers/pagerduty_provider/pagerduty_provider.py index 2912388a2..f31f0c75a 100644 --- a/keep/providers/pagerduty_provider/pagerduty_provider.py +++ b/keep/providers/pagerduty_provider/pagerduty_provider.py @@ -507,7 +507,7 @@ def _format_alert( # If somebody connected the provider before we refactored it old_format_event = event.get("event", {}) if old_format_event is not None and isinstance(old_format_event, dict): - return PagerdutyProvider._format_alert_old(old_format_event) + return PagerdutyProvider._format_alert_old(event) status = PagerdutyProvider.ALERT_STATUS_MAP.get(event.get("status", "firing")) severity = PagerdutyProvider.ALERT_SEVERITIES_MAP.get(