Fix compile issue
This commit is contained in:
parent
545b359697
commit
6aa7aed3cf
|
@ -407,9 +407,9 @@ public class Controller extends BaseController {
|
|||
clientCodeJsonWriter.nullValue();
|
||||
}
|
||||
|
||||
if (client.getPrettyPrint() != null) {
|
||||
if (client.isPrettyPrint()) {
|
||||
clientCodeJsonWriter.name("pretty");
|
||||
clientCodeJsonWriter.value(client.getPrettyPrint().toString());
|
||||
clientCodeJsonWriter.value("true");
|
||||
} else {
|
||||
clientCodeJsonWriter.name("pretty");
|
||||
clientCodeJsonWriter.nullValue();
|
||||
|
|
Loading…
Reference in New Issue