Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Undefined Check #276

Merged
merged 2 commits into from
Jan 24, 2022
Merged

Update Undefined Check #276

merged 2 commits into from
Jan 24, 2022

Conversation

steets250
Copy link
Member

Apparently checking if (varName) isn't enough to prevent undefined from breaking .ejs templates. The correct way is if (typeof varName !== 'undefined'). This error was causing partial fulfillment emails to not send. This also brought up the point that we're not currently verifying that .ejs templates succeed, and I opened #275 regarding that.

@github-actions
Copy link

Thanks for contributing! If you've made changes to the API's functionality, please make sure to bump the package version—see this guide to semantic versioning for details—and document those changes as appropriate.

@steets250 steets250 merged commit 89f3e9c into master Jan 24, 2022
@steets250 steets250 deleted the email-template-update branch January 24, 2022 22:50
nick-ls pushed a commit to nick-ls/membership-portal that referenced this pull request Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants