diff --git a/controllers/utilsController.js b/controllers/utilsController.js index a770d1e..1450bba 100644 --- a/controllers/utilsController.js +++ b/controllers/utilsController.js @@ -1083,7 +1083,7 @@ self.stats = async (req, res, next) => { Object.keys(statsData).forEach(key => { statsData[key].generating = false }) - return apiErrorsHandler(error) + return apiErrorsHandler(error, req, res, next) } }