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

@@ -24,7 +24,7 @@ export const CLibcurlCodegen = {
`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${method}");`
)
requestString.push(
`curl_easy_setopt(hnd, CURLOPT_URL, "${url}${pathName}${queryString}");`
`curl_easy_setopt(hnd, CURLOPT_URL, "${url}${pathName}?${queryString}");`
)
requestString.push(`struct curl_slist *headers = NULL;`)