alsmanager_lib 3.0.14 → 3.0.15
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.
- package/lib/modules.js +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
|
|
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
|
|
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";
|