Changed CommentManagementAPIImpl

changed returning null into response ok.
This commit is contained in:
nishadi 2018-02-28 11:22:51 +05:30
parent 2981a1537e
commit b5c28943ee

View File

@ -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