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

Loading multiple template directory #14

Open
wants to merge 1 commit into
base: feature/waterline-upgrade
Choose a base branch
from

Conversation

subhamKumar04
Copy link
Contributor

Summary

  • Creating a new API to trigger cron-job on billing-server required us to load email templates from two different directories.
  • Created a new array that will contain the list of directories from where the templates have been loaded. If some new path comes to load templates now those templates will be loaded successfully to memory.

Steps to test

  • Install emailjs from this PR and hit the Cronjob API on billing-server.
  • Verify by running any job which sends an audit email and check the email is coming successfully.

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