Strategická: V API je status

This commit is contained in:
David Klement 2022-09-14 14:54:34 +02:00
parent 582e0e7385
commit 3bc785763c

View file

@ -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}"
})