Skip to content

Commit

Permalink
Fixed data.body instead of data.query usage (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloverdijk committed Apr 15, 2024
1 parent 3693f52 commit eb15457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/user-guide/request-body.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class ToDoCreate extends OpenAPIRoute {
context: any,
data: any
) {
const { limit } = data.query
const newToDo = data.body
// ...
}
}
Expand Down Expand Up @@ -100,7 +100,7 @@ export class ToDoCreate extends OpenAPIRoute {
context: any,
data: any
) {
const { limit } = data.query
const newToDo = data.body
// ...
}
}
Expand Down

0 comments on commit eb15457

Please sign in to comment.