Parse ian's email prefs on dev

This commit is contained in:
Ian Philips 2022-09-30 13:36:34 -06:00
parent b2f81c1149
commit a25acbe1db

View File

@ -48,7 +48,7 @@ export async function sendPortfolioUpdateEmailsToAllUsers() {
return isProd() return isProd()
? user.notificationPreferences.profit_loss_updates.includes('email') && ? user.notificationPreferences.profit_loss_updates.includes('email') &&
!user.weeklyPortfolioUpdateEmailSent !user.weeklyPortfolioUpdateEmailSent
: true : user.notificationPreferences.profit_loss_updates.includes('email')
}) })
// Send emails in batches // Send emails in batches
.slice(0, 200) .slice(0, 200)