diff --git a/lib/api/session.cpp b/lib/api/session.cpp index 733e868d4..fdd50bb26 100644 --- a/lib/api/session.cpp +++ b/lib/api/session.cpp @@ -208,7 +208,7 @@ int Session::writeable() json_t *json_response = resp->toJson(); - responseBuffer.encode(json_response); + responseBuffer.encode(json_response, JSON_INDENT(4)); code = resp->getCode(); }