From 8f8ec9a86a1e735eb53a184b4878980009102ab9 Mon Sep 17 00:00:00 2001 From: nishadi Date: Thu, 18 Jan 2018 15:56:38 +0530 Subject: [PATCH] parameter in the consumes annotation changed to application/json --- .../mgt/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.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/impl/CommentManagementAPIImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/impl/CommentManagementAPIImpl.java index 66d115bbcb5..be1a7cfe851 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/impl/CommentManagementAPIImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/impl/CommentManagementAPIImpl.java @@ -202,7 +202,7 @@ public class CommentManagementAPIImpl implements CommentManagementAPI { @Override @POST - @Consumes("uuid/stars/json") + @Consumes("application/json") public Response updateStars( @ApiParam int stars, @PathParam("uuid") String uuid) {