node-red-viseo-helper
Advanced tools
Comparing version 0.2.0-alpha.11 to 0.2.0-alpha.12
@@ -277,7 +277,7 @@ 'use strict'; | ||
// 24h : 24 * 3600 * 1000 = 86400000 | ||
let logsToSend = JSON.parse(JSON.stringify(activities)) | ||
activities = { info : { start : Date.now(), key : actKey }}; | ||
try { | ||
await sendActivities(activities); | ||
activities = { info : { start : time, key : actKey }}; | ||
await sendActivities(logsToSend); | ||
} catch(err) { | ||
activities = { info : { start : time, key : actKey }}; | ||
if (err.statusCode === 401) { | ||
@@ -284,0 +284,0 @@ oldKeys.push(actKey); |
{ | ||
"name" : "node-red-viseo-helper", | ||
"version" : "0.2.0-alpha.11", | ||
"version" : "0.2.0-alpha.12", | ||
"description" : "Utility libarary for Node-RED", | ||
@@ -5,0 +5,0 @@ "dependencies" : { |
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
27805