diff --git a/api/tacticalrmm/alerts/models.py b/api/tacticalrmm/alerts/models.py index 7a2982ee..f0088433 100644 --- a/api/tacticalrmm/alerts/models.py +++ b/api/tacticalrmm/alerts/models.py @@ -588,7 +588,7 @@ class Alert(models.Model): hist = AgentHistory.objects.create( agent=agent, type=AgentHistoryType.SCRIPT_RUN, - script=alert_template.resolved_action, + script=alert_template.action, username="alert-action-resolved", ) r = agent.run_script(