Commit 2051e652 authored by frtabu's avatar frtabu

fix new IRespCmd json format in backend

parent 51f2a75b
...@@ -223,7 +223,7 @@ void websrv_gettbldata_response(struct _u_response * response,webdatadef_t * wda ...@@ -223,7 +223,7 @@ void websrv_gettbldata_response(struct _u_response * response,webdatadef_t * wda
} }
json_array_append_new(jdata,jline); json_array_append_new(jdata,jline);
} }
json_t *jbody=json_pack("{s:o,s:o}","columns",jcols,"rows",jdata); json_t *jbody=json_pack("{s:[o],s:{s:o,s:o}}","display",json_null(),"table","columns",jcols,"rows",jdata);
websrv_jbody(response,jbody); websrv_jbody(response,jbody);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment