Jul 7 - Implement additional recipient per contract

This commit is contained in:
2026-07-07 20:28:17 -04:00
parent 8f971a403b
commit a3c6fd73bd
9 changed files with 613 additions and 8 deletions
+5 -4
View File
@@ -319,10 +319,11 @@ def send_score_alerts(threshold=SCORE_DROP_THRESHOLD):
link = f'/reports/facility/{fid}/scorecard'
notify_by_matrix(
event_type = 'score_alert',
title = title,
body = body,
link = link,
event_type = 'score_alert',
title = title,
body = body,
link = link,
facility_id = fid,
)
total_sent += 1