fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user