fix: missing '?' in query parameter string for code generators

This commit is contained in:
liyasthomas
2021-09-13 09:07:06 +05:30
parent c02f54cc18
commit 5d801cf566
21 changed files with 25 additions and 25 deletions

View File

@@ -21,7 +21,7 @@ export const JavascriptFetchCodegen = {
}) => {
const requestString = []
let genHeaders = []
requestString.push(`fetch("${url}${pathName}${queryString}", {\n`)
requestString.push(`fetch("${url}${pathName}?${queryString}", {\n`)
requestString.push(` method: "${method}",\n`)
if (auth === "Basic Auth") {
const basic = `${httpUser}:${httpPassword}`