diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/manage/GRSFNotificationService.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/manage/GRSFNotificationService.java index 2cdbba7..55c4b67 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/manage/GRSFNotificationService.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/manage/GRSFNotificationService.java @@ -238,7 +238,7 @@ public class GRSFNotificationService { // add the new one JSONObject newTag = new JSONObject(); newTag.put("name", bean.getNewStatus().toString()); - tagsAsJson.add(new JSONObject()); + tagsAsJson.add(newTag); // manage the groups List groups = dataset.getGroups();