Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormData no longer supported #11

Closed
Mitchell3514 opened this issue Feb 7, 2023 · 2 comments
Closed

FormData no longer supported #11

Mitchell3514 opened this issue Feb 7, 2023 · 2 comments

Comments

@Mitchell3514
Copy link

Mitchell3514 commented Feb 7, 2023

Version: >=v0.6.5

When trying to send FormData as the request body the following error is thrown:

Error: Unknown object type "formdata"

This seems to be introduced by using body in the key hash: 38a71e0
It seems like the same issue (nuxt/framework#5661) as Nuxt faced. See ohash issue: unjs/ohash#10

As a workaround I switched to v0.6.4.

@johannschopplich
Copy link
Owner

Hi there! Thanks for reporting and the verbose issue trace. Much appreciated.

Fixed in 71f373c and released v0.7.1. You're able to upgrade now. 🙂

@Mitchell3514
Copy link
Author

Mitchell3514 commented Feb 8, 2023

Just upgraded, works like a charm again. Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants