From e3c7740dcd57702f3d289ebb5ce77a1a41f52aff Mon Sep 17 00:00:00 2001 From: vkivaturi Date: Wed, 14 Feb 2024 21:05:00 +0530 Subject: [PATCH] Reverted POI creation alert format back to array --- .../src/main/java/org/digit/tracking/data/dao/PoiDao.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();