mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Update HoC survey mail end date to a string
This commit is contained in:
parent
8269113efc
commit
745b905813
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ TrialRequestSchema.post 'save', (doc) ->
|
|||
address: doc.get('properties')?.email
|
||||
email_id: sendwithus.templates.teacher_free_trial_hoc
|
||||
email_data:
|
||||
endDate: endDate
|
||||
endDate: endDate.toDateString()
|
||||
sendwithus.api.send emailParams, (err, result) =>
|
||||
log.error "sendwithus trial request approved error: #{err}, result: #{result}" if err
|
||||
|
||||
|
|
Loading…
Reference in a new issue