]> git.cworth.org Git - lmno-server/commit
Empathy: Change /judging endpoint to expect a top-level word_groups property
authorCarl Worth <cworth@cworth.org>
Thu, 11 Jun 2020 22:57:24 +0000 (15:57 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Jun 2020 22:57:24 +0000 (15:57 -0700)
commitfa3bdc8a5207fc93f4d720771cb6155913f06262
tree482025118ed6ceb3ff3625dec6749c921a431ddf
parent50b90568b2aee8cd901057db236b31f8dba48d02
Empathy: Change /judging endpoint to expect a top-level word_groups property

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).
empathy.js