You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: The `searchParams` option must be either a string, `URLSearchParams` instance or an object with string and number values
at new Ky (node_modules/ky/umd.js:272:13)
at Function.ky.(anonymous function) [as post] (node_modules/ky/umd.js:501:37)
...
Is there any reason why boolean values are not supported in the searchParams option?
If you create a URLSearchParams instance, add the boolean values to that and pass it in as the value of searchParams it works as expected, though it's just extra boilerplate.
The text was updated successfully, but these errors were encountered:
The following code causes
ky
to throw an error:Is there any reason why boolean values are not supported in the
searchParams
option?If you create a
URLSearchParams
instance, add the boolean values to that and pass it in as the value ofsearchParams
it works as expected, though it's just extra boilerplate.The text was updated successfully, but these errors were encountered: