added the comment in the result object
This commit is contained in:
parent
628e74258e
commit
5adae80a1a
|
@ -211,7 +211,7 @@ public class Comments {
|
||||||
return Response.status(status).entity(responseBean).build();
|
return Response.status(status).entity(responseBean).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
responseBean.setResult(true);
|
responseBean.setResult(theComment);
|
||||||
responseBean.setSuccess(true);
|
responseBean.setSuccess(true);
|
||||||
return Response.status(status).entity(responseBean).build();
|
return Response.status(status).entity(responseBean).build();
|
||||||
} catch(FeedIDNotFoundException ex) {
|
} catch(FeedIDNotFoundException ex) {
|
||||||
|
|
Loading…
Reference in New Issue