diff --git a/src/routes/game/running.js b/src/routes/game/running.js index b8532f3..e03de8b 100644 --- a/src/routes/game/running.js +++ b/src/routes/game/running.js @@ -5,7 +5,7 @@ const GameJob = require("../../lib/classes/GameJob.js") app.get("/:token", async (request, response) => { const game = global.games.get(request.params.token) - return response.end(!!game) + return response.json(!!game) }) module.exports = app