Skip to content

Error in ok handler #233

@dinfyru

Description

@dinfyru

I have error when try to use ok handler. redux-api-middleware - 3.0.1

      ok: async res => {
        const json = await res.json();
        return res.ok && !json.error;
      },

Error

payload: 
message: "Failed to execute 'json' on 'Response': body stream is locked"
name: "InternalError"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions