alsmanager_lib 1.0.94 → 1.0.95
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 +3 -3
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -1218,15 +1218,15 @@ function insertPartChangedMySQL() {
|
|
|
1218
1218
|
query += ")";
|
|
1219
1219
|
return query;
|
|
1220
1220
|
}
|
|
1221
|
-
function insertPartChanged(db_used, id_conf, id_part, part_type, operation, id_part_replaced) {
|
|
1221
|
+
function insertPartChanged(db_used, id_conf, id_device, id_part, part_type, operation, id_part_replaced) {
|
|
1222
1222
|
var query = "";
|
|
1223
1223
|
if (db_used) {
|
|
1224
1224
|
switch (db_used) {
|
|
1225
1225
|
case 'SQLITE':
|
|
1226
|
-
query = insertPartChangedSQLite(id_conf, id_part, part_type, operation, id_part_replaced);
|
|
1226
|
+
query = insertPartChangedSQLite(id_conf, id_device, id_part, part_type, operation, id_part_replaced);
|
|
1227
1227
|
break;
|
|
1228
1228
|
case 'MYSQL':
|
|
1229
|
-
query = insertPartChangedMySQL(id_conf, id_part, part_type, operation, id_part_replaced);
|
|
1229
|
+
query = insertPartChangedMySQL(id_conf, id_device, id_part, part_type, operation, id_part_replaced);
|
|
1230
1230
|
break;
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|