refactor: merge branch 'main' into refactor/monorepo

This commit is contained in:
Andrew Bastin
2021-09-16 22:24:21 +05:30
98 changed files with 3969 additions and 3007 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}`