alsmanager_lib 3.0.85 → 3.0.86

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 +2 -2
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -4287,14 +4287,14 @@ function writeDeviceProperties(db_used, id_device, raw_data) {
4287
4287
  //End Write Device properties
4288
4288
  //Read Device properties
4289
4289
  function readDevicePropertiesSQLite(id_device) {
4290
- var query = "select raw_properties from device_properties ";
4290
+ var query = "select id, raw_properties from device_properties ";
4291
4291
  query += "where id_device = " + id_device + " ";
4292
4292
  query += "and (is_imported is null or is_imported = 0)"
4293
4293
  return query;
4294
4294
  }
4295
4295
 
4296
4296
  function readDevicePropertiesMySQL() {
4297
- var query = "select raw_properties from device_properties ";
4297
+ var query = "select id, raw_properties from device_properties ";
4298
4298
  query += "where id_device = :id_device ";
4299
4299
  query += "and (is_imported is null or is_imported = 0)"
4300
4300
  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.85",
7
+ "version": "3.0.86",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",