From 6e05dde7437f3fd128d417cd491a1e1cc12504d6 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 26 Mar 2023 20:41:58 -0400 Subject: [PATCH] Fix bug in join server --- Client/controllers/botController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/controllers/botController.js b/Client/controllers/botController.js index 115051a..a5b21ad 100644 --- a/Client/controllers/botController.js +++ b/Client/controllers/botController.js @@ -79,7 +79,7 @@ exports.joinServer = (req, res) => { // join the sever join({guildID: guildObj.id, guildObj: guildObj, channelID: channelId, callback: () => { - return req.sendStatus(202); + return res.sendStatus(202); }}); }