Merge branch 'geofence-api' into 'corrective-policy'

Fix issue in geofence creation

See merge request entgra/carbon-device-mgt!650
This commit is contained in:
Inosh Perara 2020-09-30 13:45:48 +00:00
commit f9b25b95a2

View File

@ -53,7 +53,7 @@ public class GeofenceDAOImpl implements GeofenceDAO {
"CREATED_TIMESTAMP, " +
"OWNER, " +
"TENANT_ID) " +
"VALUES (?, ?, ?, ?, ?, ?, ?, ?)";
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
try (PreparedStatement stmt = conn.prepareStatement(sql)) {
stmt.setString(1, geofenceData.getFenceName());
stmt.setString(2, geofenceData.getDescription());