We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a19681 commit d2189a1Copy full SHA for d2189a1
src/features/instance/apis/plugins.ts
@@ -34,7 +34,7 @@ export const SnippedGeneratorNodeJsPlugin = {
34
\theaders: {
35
\t\t${headers.map((val: string, key: string) => `"${key}": "${val}"`).valueSeq().join(',\n\t\t')}
36
\t},` : ''}${reqBody ? `
37
-\tbody: JSON.stringify(${stringBody}),` : ''}
+\tbody: ${stringBody},` : ''}
38
});
39
const data = await response.json();
40
console.log(data);
0 commit comments