From 530ba113830719cda2cc4f1309ea4e6c79f5c55a Mon Sep 17 00:00:00 2001 From: I-Have-An-Issue <34550332+I-Have-An-Issue@users.noreply.github.com> Date: Mon, 23 Jan 2023 00:43:54 -0500 Subject: [PATCH] Games :partying_face: --- src/routes/game/running.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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