We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c8763 commit bdd7725Copy full SHA for bdd7725
packages/openapi-ts/src/plugins/@hey-api/client-fetch/bundle/client.ts
@@ -226,7 +226,8 @@ export const createClient = (config: Config = {}): Client => {
226
return options.body;
227
}
228
229
- return null;
+ // no body was provided
230
+ return undefined;
231
232
233
const makeMethodFn =
packages/openapi-ts/src/plugins/@hey-api/client-next/bundle/client.ts
@@ -214,7 +214,8 @@ export const createClient = (config: Config = {}): Client => {
214
215
216
217
218
219
220
221
0 commit comments