Browse Source

Strategická: V API je status

master
David Klement 2 years ago
parent
commit
3bc785763c
  1. 2
      server/hra/web/api.py

2
server/hra/web/api.py

@ -75,7 +75,7 @@ def api_action():
warnings = game.get_logic().validate_move(state.state, team_id, j, round_id)
except Exception as e:
return json.dumps({
"error": "error",
"status": "error",
"description": f"{type(e).__name__}: {e}"
})

Loading…
Cancel
Save