Skip to content

Instantly share code, notes, and snippets.

@ajwagner777
Created March 2, 2016 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajwagner777/dfc59e0dc7e94a7fe4b5 to your computer and use it in GitHub Desktop.
Save ajwagner777/dfc59e0dc7e94a7fe4b5 to your computer and use it in GitHub Desktop.
buildNotification: function (statuses, customerId) {
var handlebars = require('handlebars');
var source = fs.readFileSync(config.root + "/src/utilities/notification-email.html").toString();
var template = handlebars.compile(source);
return template({statuses: statuses, customerId: customerId});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment