diff --git a/server/hra/web/api.py b/server/hra/web/api.py index 5eebe31..f20888c 100644 --- a/server/hra/web/api.py +++ b/server/hra/web/api.py @@ -63,7 +63,7 @@ def api_action(): team = get_context() game = team.game team_id = team.team_id - j = request.get_json() + j = json.loads(request.get_json()) state = game.current_state() round_id = args_get('round', int) if round_id < 0 or round_id > game.current_round: