fix: missing '?' in query parameter string for code generators
This commit is contained in:
@@ -22,7 +22,7 @@ export const NodejsAxiosCodegen = {
|
||||
const requestBody = rawInput ? rawParams : rawRequestBody
|
||||
|
||||
requestString.push(
|
||||
`axios.${method.toLowerCase()}('${url}${pathName}${queryString}'`
|
||||
`axios.${method.toLowerCase()}('${url}${pathName}?${queryString}'`
|
||||
)
|
||||
if (requestBody.length !== 0) {
|
||||
requestString.push(", ")
|
||||
|
||||
Reference in New Issue
Block a user