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 eede7c3 commit 7406abdCopy full SHA for 7406abd
src/printer/index.ts
@@ -363,7 +363,7 @@ export class Printer {
363
return `${jsDoc.print()}
364
export async function ${funcName}(${requestArgs.toArgs()}): ${AXIOS_PROMISE_TYPE_NAME}<${respType}> {
365
return ${AXIOS_IMPORT_NAME}({
366
- method: ${JSON.stringify(method)},
+ method: ${JSON.stringify(method.toUpperCase())},
367
${requestArgs.toValues()}
368
});
369
}`;
0 commit comments