From 168f053c6fd1ccfdcdd8de31c133f3a02bc0e0ef Mon Sep 17 00:00:00 2001 From: wh1te909 <7434746+wh1te909@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:12:02 +0000 Subject: [PATCH] revert, already fixed in #1823 --- api/tacticalrmm/alerts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(