revert, already fixed in #1823

This commit is contained in:
wh1te909 2024-04-22 18:12:02 +00:00
parent 897e1d4539
commit 168f053c6f
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ class Alert(models.Model):
hist = AgentHistory.objects.create( hist = AgentHistory.objects.create(
agent=agent, agent=agent,
type=AgentHistoryType.SCRIPT_RUN, type=AgentHistoryType.SCRIPT_RUN,
script=alert_template.resolved_action, script=alert_template.action,
username="alert-action-resolved", username="alert-action-resolved",
) )
r = agent.run_script( r = agent.run_script(