Send market close notifs for each close time

This commit is contained in:
Ian Philips 2022-09-26 18:13:15 -04:00
parent 13cffcdaf1
commit d612192109

View File

@ -60,7 +60,7 @@ async function sendMarketCloseEmails() {
'contract',
'closed',
user,
'closed' + contract.id.slice(6, contract.id.length),
contract.id + '-closed-at-' + contract.closeTime,
contract.closeTime?.toString() ?? new Date().toString(),
{ contract }
)