node-red-contrib-agilite
Advanced tools
Comparing version 5.4.3 to 5.4.4
@@ -90,3 +90,3 @@ module.exports = function (RED) { | ||
var headers = { | ||
var httpConfig = { | ||
headers: { | ||
@@ -101,3 +101,3 @@ "api-key": apiKey, | ||
if (logProcessId) | ||
headers.headers["log-process-id"] = logProcessId; | ||
httpConfig.headers["log-process-id"] = logProcessId; | ||
@@ -107,3 +107,3 @@ switch (config.actionType) { | ||
url = url + "/files"; | ||
headers.headers["responseType"] = "arraybuffer"; | ||
httpConfig.responseType = "arraybuffer"; | ||
break; | ||
@@ -127,3 +127,3 @@ case "2": //Get File Name | ||
case "get": | ||
axios.get(url, headers) | ||
axios.get(url, httpConfig) | ||
.then(function (response) { | ||
@@ -217,3 +217,3 @@ if (config.actionType === "1") { | ||
case "delete": | ||
axios.delete(url, headers) | ||
axios.delete(url, httpConfig) | ||
.then(function (response) { | ||
@@ -220,0 +220,0 @@ msg.agilite.success = response.data.success; |
{ | ||
"name": "node-red-contrib-agilite", | ||
"license": "MIT", | ||
"version": "5.4.3", | ||
"version": "5.4.4", | ||
"description": "Node-RED nodes to integrate with Agilit-e cloud or Agilit-e on-prem", | ||
@@ -6,0 +6,0 @@ "homepage": "https://portal.agilite.io", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140329