mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix typo
This commit is contained in:
@@ -7,7 +7,7 @@ export default function attachMiddlewares (app) {
|
|||||||
|
|
||||||
// Parse query parameters and json bodies
|
// Parse query parameters and json bodies
|
||||||
// TODO handle errors
|
// TODO handle errors
|
||||||
app.use(bodyParser.urlencoded(
|
app.use(bodyParser.urlencoded({
|
||||||
extended: true, // Uses 'qs' library as old connect middleware
|
extended: true, // Uses 'qs' library as old connect middleware
|
||||||
}));
|
}));
|
||||||
app.use(bodyParser.json());
|
app.use(bodyParser.json());
|
||||||
|
|||||||
Reference in New Issue
Block a user