blob: 690dc7157c0e19346f893022776370aac2bd9135 [file] [log] [blame]
module.exports = function(logger, providerUtils) {
// Health Endpoint
this.endPoint = '/health';
// Health Logic
this.health = function (req, res) {
res.send({triggerCount: Object.keys(providerUtils.triggers).length});
};
};