added date from

This commit is contained in:
2025-10-09 10:01:22 +10:30
parent c3f52a998b
commit a0252461f7
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -70,6 +70,11 @@ module.exports = function(RED) {
filtersstr += `&datefrom=${datefrom}`
}
const dateto = encodeURIComponent(msg.dateto || "")
if (dateto.length > 0) {
filtersstr += `&datefrom=${dateto}`
}
const url = `https://myobsync.accede.com.au/download/${what}/json/${page}?apikey=${apikey}${filtersstr}`;
DoImport(msg, url, node)