Skip to content

setData not working on v4 #51

@johngerome

Description

@johngerome

Describe the bug
I've noticed that the setData method on V4 is not working as expected. When I inspect the browser, I am unable to see the payload request.

v3 works fine.

Thank you.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/edit/hyperfetch-nuxt-demo-xhr9qg?file=pages%2Findex.vue
  2. Click on the fetch button
  3. Inspect element -> go to Network tab -> select the "repositories" (404)
  4. No payload included

Expected behavior
Payload should be there no matter what the response status is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions