diff --git a/package.json b/package.json index ceeefc5..9ca42c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.1.16", + "version": "1.1.17", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": { diff --git a/utils/post.js b/utils/post.js index 718d0cb..4763e4d 100644 --- a/utils/post.js +++ b/utils/post.js @@ -47,7 +47,7 @@ module.exports = async function ({ key, query, database }) { const reqPayload = JSON.stringify({ query, database, - }); + }).replace(/\n|\r|\n\r/gm, ""); const httpsRequest = https.request( {