diff --git a/packages/server/src/lib/email.js b/packages/server/src/lib/email.js index 359284cc01..f29a0a0e05 100644 --- a/packages/server/src/lib/email.js +++ b/packages/server/src/lib/email.js @@ -423,7 +423,7 @@ async function sendGrantAssignedEmails({ grantId, agencyIds, userId }) { i. Send email */ try { - const grant = await db.getGrant({ grantId, showForecastedGrants: process.env.SHOW_FORECASTED_GRANTS }); + const grant = await db.getGrant({ grantId, showForecastedGrants: process.env.SHOW_FORECASTED_GRANTS === 'true' }); const grantDetail = await buildGrantDetail(grant, notificationType.grantAssignment); const agencies = await db.getAgenciesByIds(agencyIds); await asyncBatch(