alsmanager_lib 3.0.13 → 3.0.14

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
@@ -2130,7 +2130,7 @@ function createSwitchPatchPropertiesMySQLObj(id_device, dev_prop) {
2130
2130
  }
2131
2131
  function insertSwitchPatchPropertiesSQLite(id_device, dev_prop) {
2132
2132
  var query = "insert into device_switch (id_device, num_ports) values ";
2133
- query += "(" + id_device + ", '" + dev_prop.num_ports + ")";
2133
+ query += "(" + id_device + ", " + dev_prop.num_ports + ")";
2134
2134
  return query;
2135
2135
  }
2136
2136
  function insertSwitchPatchPropertiesMySQL() {
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.13",
7
+ "version": "3.0.14",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",