Parse ian's email prefs on dev
This commit is contained in:
parent
b2f81c1149
commit
a25acbe1db
|
@ -48,7 +48,7 @@ export async function sendPortfolioUpdateEmailsToAllUsers() {
|
|||
return isProd()
|
||||
? user.notificationPreferences.profit_loss_updates.includes('email') &&
|
||||
!user.weeklyPortfolioUpdateEmailSent
|
||||
: true
|
||||
: user.notificationPreferences.profit_loss_updates.includes('email')
|
||||
})
|
||||
// Send emails in batches
|
||||
.slice(0, 200)
|
||||
|
|
Loading…
Reference in New Issue
Block a user