fix: build failure

This commit is contained in:
Subhradeep Chakraborty 2024-09-25 14:05:13 +05:30 committed by omkark06
parent 13b35429fc
commit 17e7ed347b
1 changed files with 9 additions and 1 deletions

View File

@ -440,7 +440,15 @@ pub async fn send_notification(
.await;
let email_subject = if !dest.template.title.is_empty() {
process_dest_template(&dest.template.title, alert, rows, &rows_tpl_val).await
process_dest_template(
&dest.template.title,
alert,
rows,
&rows_tpl_val,
rows_end_time,
start_time,
)
.await
} else {
dest.template.name.clone()
};