From ac3fb03b2d2b0b5669ba27b67fc433389eda3b1c Mon Sep 17 00:00:00 2001 From: wh1te909 <7434746+wh1te909@users.noreply.github.com> Date: Tue, 30 Jul 2024 09:10:48 +0000 Subject: [PATCH] add client and site name to script email closes #1945 --- api/tacticalrmm/agents/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tacticalrmm/agents/tasks.py b/api/tacticalrmm/agents/tasks.py index 6ee0bc23e8..20ddd70171 100644 --- a/api/tacticalrmm/agents/tasks.py +++ b/api/tacticalrmm/agents/tasks.py @@ -175,7 +175,7 @@ def run_script_email_results_task( return CORE = get_core_settings() - subject = f"{agent.hostname} {script.name} Results" + subject = f"{agent.client.name}, {agent.site.name}, {agent.hostname} {script.name} Results" exec_time = "{:.4f}".format(r["execution_time"]) body = ( subject