try game hints

This commit is contained in:
Ruben 2016-09-04 17:53:50 +02:00
parent eed06441bb
commit 60db54a00f

View file

@ -60,6 +60,8 @@ class ScoreControllerProvider implements ControllerProviderInterface
* Expects a full game + hits in the request
*/
$controllers->post('/games', function (Request $request, Application $app) {
error_reporting(E_ALL);ini_set('display_errors',1);
$data = json_decode($request->getContent(), true);
$token = $app['security.token_storage']->getToken();
$user = $token->getUser();