I'm not sure what's changed as my code was working a couple of weeks ago.
The latest version of oak dns seems to be down so I've reverted back to some older versions but having all sorts of issues now like this.
"error: "context.request.body is not a function"
When trying to parse the body how I previously parsed it..
const body = await context.request.body().value;
Using "import { Router } from 'https://deno.land/x/oak@v14.1.0/mod.ts';"
I'm not sure what's changed as my code was working a couple of weeks ago.
The latest version of oak dns seems to be down so I've reverted back to some older versions but having all sorts of issues now like this.
"error: "context.request.body is not a function"
When trying to parse the body how I previously parsed it..
const body = await context.request.body().value;
Using "import { Router } from 'https://deno.land/x/oak@v14.1.0/mod.ts';"