return json object by default

This commit is contained in:
Me No Dev 2016-05-03 03:59:49 +03:00
parent d74a84455f
commit 060183974c
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class AsyncJsonResponse: public AsyncAbstractResponse {
JsonVariant _root;
bool _isValid;
public:
AsyncJsonResponse(bool isArray): _isValid{false} {
AsyncJsonResponse(bool isArray=false): _isValid{false} {
_code = 200;
_contentType = "text/json";
if(isArray)