mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
remove old module.exports from server aswell
This commit is contained in:
@@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user