From 5adae80a1a56218bfd7cc0aaa1def72d68f0cf05 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Thu, 9 Feb 2023 17:08:54 +0100 Subject: [PATCH] added the comment in the result object --- .../gcube/portal/social/networking/ws/methods/v2/Comments.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {