bot-functions 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -889,7 +889,7 @@ const sendDataCH = async (params, dataJSON) => {
|
|
|
889
889
|
const batchPromises = [];
|
|
890
890
|
const stringData = JSON.stringify(dataJSON);
|
|
891
891
|
const response = await axios({
|
|
892
|
-
method: 'post', url:
|
|
892
|
+
method: 'post', url: process.env.INSERT_CH, data: {jsonContent: stringData },
|
|
893
893
|
maxBodyLength: Infinity, headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }
|
|
894
894
|
});
|
|
895
895
|
batchPromises.push(response.status);
|