mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
format express-validator errors
This commit is contained in:
@@ -21,7 +21,7 @@ export default function attachMiddlewares (app) {
|
||||
extended: true, // Uses 'qs' library as old connect middleware
|
||||
}));
|
||||
app.use(bodyParser.json());
|
||||
app.use(expressValidator()); // TODO config
|
||||
app.use(expressValidator());
|
||||
app.use(analytics);
|
||||
app.use(responseHandler);
|
||||
app.use(getUserLanguage);
|
||||
|
||||
Reference in New Issue
Block a user