alsmanager_lib 3.0.45 → 3.0.46

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
@@ -10538,13 +10538,13 @@ function queryPlaces() {
10538
10538
 
10539
10539
  function queryPlaceByIdSQLite(id_place) {
10540
10540
  var query = "SELECT mark, name, address, city, phone_number, type, coor_long, coor_lat, plus_code, dist_by_feet_m, dist_by_car_m, is_main from places ";
10541
- query += " where id_place = '" + id_place + "'";
10541
+ query += " where mark = '" + id_place + "'";
10542
10542
  return query;
10543
10543
  }
10544
10544
 
10545
10545
  function queryPlaceByIdMySQL(id_place) {
10546
10546
  var query = "SELECT mark, name, address, city, phone_number, type, coor_long, coor_lat, plus_code, dist_by_feet_m, dist_by_car_m, is_main from places ";
10547
- query += "where id_place = :id_place";
10547
+ query += "where mark = :id_place";
10548
10548
  return query;
10549
10549
  }
10550
10550
 
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.45",
7
+ "version": "3.0.46",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",