alsmanager_lib 3.0.200 → 3.0.201

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.
Files changed (2) hide show
  1. package/lib/modules.js +1 -1
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -16463,7 +16463,7 @@ function readCountersPrinterBeforeDate(id_device, operazione, date_ref) {
16463
16463
  var dr_str = convertDateToStringDB(date_ref);
16464
16464
  var query = "select id, id_device, date_read, operation, num_bw, num_colors from printer_counters ";
16465
16465
  query += "where id_device = " + id_device + " ";
16466
- query += "and operazione = '" + operazione + "' ";
16466
+ query += "and operation = '" + operazione + "' ";
16467
16467
  query += "and date_read < '" + dr_str + "' ";
16468
16468
  query += "order by date_read desc limit 1";
16469
16469
  return query;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "3.0.200",
7
+ "version": "3.0.201",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",