- webInterface.getCore().createReply(currentSone, post, text);
- return new JsonObject().put("success", true);
+ Reply reply = webInterface.getCore().createReply(currentSone, post, text);
+ return createSuccessJsonObject().put("reply", reply.getId());