Jul 7 - Implement additional recipient per contract
This commit is contained in:
+5
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user