mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 23:20:47 +02:00
send cancelation email after 1 hour
This commit is contained in:
@@ -46,7 +46,9 @@ module.exports =
|
||||
emailOpts =
|
||||
to: user.email
|
||||
first_name: user.first_name
|
||||
EmailHandler.sendEmail "canceledSubscription", emailOpts
|
||||
ONE_HOUR_IN_MS = 1000 * 60 * 60
|
||||
setTimeout (-> EmailHandler.sendEmail "canceledSubscription", emailOpts
|
||||
), ONE_HOUR_IN_MS
|
||||
callback()
|
||||
else
|
||||
callback()
|
||||
|
||||
Reference in New Issue
Block a user