Private
Public Access
1
0
This commit is contained in:
2024-05-20 17:02:29 +02:00
parent 0b98354dfa
commit ab64e0b763
2 changed files with 6 additions and 8 deletions

View File

@@ -1076,7 +1076,7 @@ def checkbreakthrough(w, r):
r.user.email,
r.user.first_name,
r.user.last_name,
btvalues=btvalues.to_json())
btvalues=btvalues.write_json())
for coach in r.get_coaches():
if coach.getemailnotifications and not coach.emailbounced:
_ = myqueue(queuehigh, handle_sendemail_breakthrough,
@@ -1084,7 +1084,7 @@ def checkbreakthrough(w, r):
coach.user.email,
r.user.first_name,
r.user.last_name,
btvalues=btvalues.to_json(),
btvalues=btvalues.write_json(),
surname=True)
# submit email task to send email about breakthrough workout
@@ -1098,7 +1098,7 @@ def checkbreakthrough(w, r):
r.user.email,
r.user.first_name,
r.user.last_name,
btvalues=btvalues.to_json())
btvalues=btvalues.write_json())
for coach in r.get_coaches():
if coach.getemailnotifications and not coach.emailbounced:
_ = myqueue(queuehigh, handle_sendemail_hard,
@@ -1106,7 +1106,7 @@ def checkbreakthrough(w, r):
coach.user.email,
r.user.first_name,
r.user.last_name,
btvalues=btvalues.to_json(),
btvalues=btvalues.write_json(),
surname=True)
return isbreakthrough, ishard