From f7fb5d335d29a9adbd6dbb845df5cd1fd47cb19e Mon Sep 17 00:00:00 2001 From: Keith James Date: Mon, 2 Dec 2024 16:57:32 +0000 Subject: [PATCH] Fix missing domain argument --- src/npg_notify/ont/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npg_notify/ont/event.py b/src/npg_notify/ont/event.py index f246279..8f47913 100644 --- a/src/npg_notify/ont/event.py +++ b/src/npg_notify/ont/event.py @@ -342,7 +342,7 @@ def run_email_tasks( domain=domain, contacts=sorted(contacts), subject=task.subject(), - content=task.body(studies), + content=task.body(studies, domain=domain), ) pipeline.done(task)