Skip to content

Commit 0bebee2

Browse files
author
Sergei Shevlyagin
committed
removing unescped {
1 parent 0cc94d5 commit 0bebee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/middlewares.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ await app.listen(3000);
248248
#### Default body parser middleware
249249

250250
When using the `express` adapter, the NestJS app will register `json` and `urlencoded` from the package `body-parser` by default.
251-
- `urlencoded` is used with the `{extended: true}` flag and the optional `rawBody` flag if set in your `NestApplicationOptions`.
251+
- `urlencoded` is used with the `extended: true` flag and the optional `rawBody` flag if set in your `NestApplicationOptions`.
252252
- `body-parser` is used with the optional `rawBody` flag if set in your `NestApplicationOptions`.
253253

254254
This can be turned off by setting the `bodyParser` flag to `false` when creating the application.

0 commit comments

Comments
 (0)