Skip to content

Commit

Permalink
Update packages/server/src/lib/email.js
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Hendrickson <[email protected]>
  • Loading branch information
lsr-explore and TylerHendrickson authored Oct 22, 2024
1 parent 293aa49 commit fe6cfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/lib/email.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit fe6cfc3

Please sign in to comment.