alsmanager_lib 3.0.14 → 3.0.16

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
@@ -2156,7 +2156,7 @@ function insertSwitchPatchProperties(db_used, id_device, dev_prop) {
2156
2156
  }
2157
2157
 
2158
2158
  function updateSwitchPatchPropertiesSQLite(id_device, dev_prop) {
2159
- var query = "update device_pc set ";
2159
+ var query = "update device_switch set ";
2160
2160
  query += "id_device = " + id_device + ", ";
2161
2161
  query += "num_ports = " + dev_prop.num_ports + " ";
2162
2162
  query += "where id_device = " + id_device;
@@ -2164,7 +2164,7 @@ function updateSwitchPatchPropertiesSQLite(id_device, dev_prop) {
2164
2164
  }
2165
2165
 
2166
2166
  function updateSwitchPatchPropertiesMySQL() {
2167
- var query = "update device_pc set ";
2167
+ var query = "update device_switch set ";
2168
2168
  query += "id_device = :id_device, ";
2169
2169
  query += "num_ports = :num_ports ";
2170
2170
  query += "where id_device = :id_device";
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.14",
7
+ "version": "3.0.16",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",