This commit is contained in:
Tben 2023-05-22 11:52:27 +01:00
parent 75d40adede
commit ee7bc45412
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "datasquirel",
"version": "1.1.20",
"version": "1.1.21",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"scripts": {

View File

@ -49,7 +49,7 @@ module.exports = async function ({ key, payload, database }) {
method: "POST",
headers: {
"Content-Type": "application/json",
"Content-Length": reqPayload.length,
"Content-Length": Buffer.from(reqPayload).length,
Authorization: key,
},
port: 443,

View File

@ -49,7 +49,7 @@ module.exports = async function ({ key, payload, database }) {
method: "POST",
headers: {
"Content-Type": "application/json",
"Content-Length": reqPayload.length,
"Content-Length": Buffer.from(reqPayload).length,
Authorization: key,
},
port: 443,

View File

@ -53,7 +53,7 @@ module.exports = async function ({ key, payload }) {
method: "POST",
headers: {
"Content-Type": "application/json",
"Content-Length": reqPayload.length,
"Content-Length": Buffer.from(reqPayload).length,
Authorization: key,
},
port: 443,