added date from
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@accede/node-red-contrib-odbcwritenow",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Node-RED library for access in MYOB data via ODBCWriteNow",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user