From 91401e2c26c1438881722aebc893324d92abc8c1 Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Mon, 22 May 2023 11:04:04 +0100 Subject: [PATCH] updates --- package.json | 2 +- utils/post.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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( {