try game hints
This commit is contained in:
parent
eed06441bb
commit
60db54a00f
1 changed files with 3 additions and 1 deletions
|
@ -60,6 +60,8 @@ class ScoreControllerProvider implements ControllerProviderInterface
|
||||||
* Expects a full game + hits in the request
|
* Expects a full game + hits in the request
|
||||||
*/
|
*/
|
||||||
$controllers->post('/games', function (Request $request, Application $app) {
|
$controllers->post('/games', function (Request $request, Application $app) {
|
||||||
|
error_reporting(E_ALL);ini_set('display_errors',1);
|
||||||
|
|
||||||
$data = json_decode($request->getContent(), true);
|
$data = json_decode($request->getContent(), true);
|
||||||
$token = $app['security.token_storage']->getToken();
|
$token = $app['security.token_storage']->getToken();
|
||||||
$user = $token->getUser();
|
$user = $token->getUser();
|
||||||
|
|
Loading…
Reference in a new issue