Changed CommentManagementAPIImpl

changed returning null into response ok.
merge-requests/7/head
nishadi 7 years ago
parent 2981a1537e
commit b5c28943ee

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

Loading…
Cancel
Save