It's probably wise, (for future-proofing our APIs), if the server
looks for an explicitly-named property rather than just slurping up
the whole request body.
This also keeps the code more consistent with other endpoints, (which
is going to be particularly important as I start refactoring things to
remove some duplicated code).
const result = game.receive_judging(prompt_id,
request.session.id,
const result = game.receive_judging(prompt_id,
request.session.id,
+ request.body.word_groups);
response.json(result);
if (game.state.players_judged >= game.players.length)
response.json(result);
if (game.state.players_judged >= game.players.length)