Skip to content

Commit

Permalink
Merge pull request #16 from holidaycheck/name
Browse files Browse the repository at this point in the history
Use named function for healthcheck route function
  • Loading branch information
lo1tuma committed Apr 3, 2016
2 parents 83f1de0 + 40dd384 commit adf67ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/healthcheckRoute.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';

module.exports = function (req, res) {
module.exports = function healthcheck(req, res) {
res.status(200).json({ status: 'OK' }).end();
};

0 comments on commit adf67ab

Please sign in to comment.