]> git.cworth.org Git - empires-server/blobdiff - empathy.js
Send a response in the implementation of the '/reset' endpoint
[empires-server] / empathy.js
index 4b7b5a9d3b9ee1f25c921240790e7608a2d282bc..5c2bd18d2b86ff6dd11f29778f4aca7925a28f03 100644 (file)
@@ -550,6 +550,8 @@ router.post('/end-judging/:prompt_id([0-9]+)', (request, response) => {
 router.post('/reset', (request, response) => {
   const game = request.game;
   game.reset();
+
+  response.send('');
 });
 
 Empathy.meta = {