diff --git a/src/core/generators/axios.ts b/src/core/generators/axios.ts index e4ec3d38c..3240c08f4 100644 --- a/src/core/generators/axios.ts +++ b/src/core/generators/axios.ts @@ -108,7 +108,7 @@ const generateAxiosImplementation = ( 'implementation', )}\n ${ isRequestOptions && mutator.hasSecondArg - ? `options?: SecondParameter` + ? `options?: SecondParameter,` : '' }${!isBodyVerb ? 'signal?: AbortSignal\n' : '\n'}) => {${bodyForm} return ${mutator.name}<${response.definition.success || 'unknown'}>(