data fix
This commit is contained in:
parent
b524cd45fe
commit
e26fa642ea
|
@ -12,6 +12,8 @@ if(isset($_GET['gameJamId'])){
|
||||||
header("Access-Control-Allow-Methods: GET");
|
header("Access-Control-Allow-Methods: GET");
|
||||||
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept");
|
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept");
|
||||||
header('Content-Type: application/json;charset=UTF-8');
|
header('Content-Type: application/json;charset=UTF-8');
|
||||||
echo $dbValue->toJson(JSON_PRETTY_PRINT);
|
|
||||||
|
|
||||||
|
echo json_encode(array('data' => $dbValue->jsonSerialize()));
|
||||||
|
|
||||||
//var_dump(headers_list());
|
//var_dump(headers_list());
|
Loading…
Reference in New Issue