* @param core
* The Sone core
*/
- protected GetPostCommand(Core core) {
+ public GetPostCommand(Core core) {
super(core);
}
Post post = getPost(parameters, "Post");
boolean includeReplies = getBoolean(parameters, "IncludeReplies", true);
- return new Response(encodePost(post, "Post.", includeReplies));
+ return new Response("Post", encodePost(post, "Post.", includeReplies));
}
}