fix: Use module.exports instead of export default

This commit is contained in:
Blade Barringer
2016-03-04 13:29:51 -06:00
parent 4cd0428f0a
commit b97511db31
34 changed files with 53 additions and 53 deletions

View File

@@ -16,8 +16,8 @@ if (nconf.get('IS_PROD')) {
service = mockAnalyticsService;
}
export default function attachAnalytics (req, res, next) {
module.exports = function attachAnalytics (req, res, next) {
res.analytics = service;
next();
}
};