diff --git a/package-lock.json b/package-lock.json index e9720c14..e5ed154e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "q-chart", - "version": "1.4.3", + "version": "1.4.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 598ec429..76963beb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "q-chart", - "version": "1.4.3", + "version": "1.4.4", "description": "", "main": "index.js", "scripts": { diff --git a/routes/rendering-info/web.js b/routes/rendering-info/web.js index f4483cf6..e1d1569a 100644 --- a/routes/rendering-info/web.js +++ b/routes/rendering-info/web.js @@ -136,7 +136,7 @@ module.exports = { function ${functionName}() { fetch("${request.payload.toolRuntimeConfig.toolBaseUrl}/rendering-info/web-svg?${querystring.stringify(queryParams)}&width=" + ${dataObject}.width, { method: "${requestMethod}", - ${requestBodyString ? "body: '" + requestBodyString + "'": ''} + ${requestBodyString ? "body: " + JSON.stringify(requestBodyString) : ''} }) .then(function(response) { return response.json();