alsmanager_lib 2.0.72 → 2.0.73

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 +4 -2
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -2182,7 +2182,8 @@ function updateDisplayPartPropertiesSQLite(id_device, dev_prop) {
2182
2182
  query += "touch = " + dev_prop.touch + ", ";
2183
2183
  query += "size_inch = " + dev_prop.size + ", ";
2184
2184
  query += "format = '" + dev_prop.format + "', ";
2185
- query += "technology = '" + dev_prop.tecnology + "' ";
2185
+ query += "technology = '" + dev_prop.tecnology + "', ";
2186
+ query += "is_removable = " + dev_prop.is_removable + " ";
2186
2187
  query += "where id_device = " + id_device;
2187
2188
  return query;
2188
2189
  }
@@ -2193,7 +2194,8 @@ function updateDisplayPartPropertiesMySQL() {
2193
2194
  query += "touch = :touch, ";
2194
2195
  query += "size_inch = :size, ";
2195
2196
  query += "format = :format, ";
2196
- query += "technology = :tecnology ";
2197
+ query += "technology = :tecnology, ";
2198
+ query += "is_removable = :is_removable ";
2197
2199
  query += "where id_device = :id_device";
2198
2200
  return query;
2199
2201
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "2.0.72",
7
+ "version": "2.0.73",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",