Skip to content

context.request.body is not a function #649

@DeveloperAdam-github

Description

@DeveloperAdam-github

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';"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions