return json object by default
This commit is contained in:
parent
d74a84455f
commit
060183974c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue