Private
Public Access
1
0

adding athlete last name to alert

This commit is contained in:
Sander Roosendaal
2022-09-16 16:19:01 +02:00
parent 961d4d9ab2
commit c7f1306df1
4 changed files with 20 additions and 3 deletions

View File

@@ -1304,7 +1304,8 @@ def sigdig(value, digits=3):
@app.task
def handle_send_email_alert(
useremail, userfirstname, userlastname, rowerfirstname, alertname, stats, **kwargs):
useremail, userfirstname, userlastname, rowerfirstname, rowerlastname,
alertname, stats, **kwargs):
if 'othertexts' in kwargs: # pragma: no cover
othertexts = kwargs['othertexts']
@@ -1356,6 +1357,7 @@ def handle_send_email_alert(
'enddate': stats['enddate'],
'siteurl': siteurl,
'rowerfirstname': rowerfirstname,
'rowerlastname': rowerlastname,
'alertname': alertname,
'othertexts': othertexts,
}