diff --git a/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java b/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java index 95d131b..94d149f 100644 --- a/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java +++ b/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java @@ -211,7 +211,7 @@ public class Comments { return Response.status(status).entity(responseBean).build(); } - responseBean.setResult(true); + responseBean.setResult(theComment); responseBean.setSuccess(true); return Response.status(status).entity(responseBean).build(); } catch(FeedIDNotFoundException ex) {