remove old module.exports from server aswell

This commit is contained in:
Matteo Pagliazzi
2019-10-02 19:45:27 +02:00
parent e0a2528a4f
commit 45f7cf04ab
91 changed files with 116 additions and 127 deletions

View File

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