diff --git a/trackingservice/src/main/java/org/digit/tracking/data/dao/PoiDao.java b/trackingservice/src/main/java/org/digit/tracking/data/dao/PoiDao.java index 03c4d641..ab6dba3f 100644 --- a/trackingservice/src/main/java/org/digit/tracking/data/dao/PoiDao.java +++ b/trackingservice/src/main/java/org/digit/tracking/data/dao/PoiDao.java @@ -151,8 +151,8 @@ public String createPOI(POI poi) { //Prepare input data for the SQL String idLocal = dbUtil.getId(); - //String alerts = JsonUtil.getJsonFromObject(poi.getAlert()); - String alerts = poi.getAlert(); + String alerts = JsonUtil.getJsonFromObject(poi.getAlert()); + //String alerts = poi.getAlert(); String positionGeom = DaoUtil.getGeometryPositionPostgresSQL(poi); OffsetDateTime offsetDateTime = OffsetDateTime.now();