From b5c28943ee2254c95eee59825b538b5bf26c2acf Mon Sep 17 00:00:00 2001 From: nishadi Date: Wed, 28 Feb 2018 11:22:51 +0530 Subject: [PATCH] Changed CommentManagementAPIImpl changed returning null into response ok. --- .../mgt/store/api/services/impl/CommentManagementAPIImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java index 4bb1dfb38c1..d378ecda03c 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java @@ -73,7 +73,7 @@ public class CommentManagementAPIImpl implements CommentManagementAPI { return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(" Internal server error occurs") .build(); } - return Response.status(Response.Status.OK).build(); + return Response.status(Response.Status.OK).entity(comments).build(); } @Override