fix invalid json
This commit is contained in:
parent
54e2db0519
commit
9716aa8136
|
@ -11,7 +11,7 @@ $in=file_get_contents('php://input');
|
|||
$params=json_decode($in, TRUE);
|
||||
switch($params['action']){
|
||||
case "init":
|
||||
echo "{'name':'Stupid AI'}";
|
||||
echo '{"name":"Stupid AI"}';
|
||||
break;
|
||||
case "play-turn":
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user