Environment
ofetch@1.4.1
Reproduction
const _customFetch = $fetch.create({});
const { path } = await _customFetch(getURL("echo"), {
onRequest(ctx) {
ctx.options.params = {
d: 4,
}
}
});
Describe the bug
When set params in onRequest.
The context.request is not withQuery.
Additional context
No response
Logs
Environment
ofetch@1.4.1
Reproduction
Describe the bug
When set params in onRequest.
The
context.requestis not withQuery.Additional context
No response
Logs