Skip to content

context.request.body is not a function #650

Closed Answered by kitsonk
DeveloperAdam-github asked this question in Q&A
Discussion options

You must be logged in to vote

This was a breaking change in oak v13 and later, as documented here: https://github.com/oakserver/oak/?tab=readme-ov-file#request-body and here: https://github.com/oakserver/oak/blob/main/CHANGELOG.md#version-1300

Please take a look at the documentation on how to adjust your code: https://jsr.io/@oak/oak/doc/~/Request#accessor_body

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kitsonk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #649 on April 02, 2024 23:45.