From dc660ed94a9361451d5dc28c86a0032173a832d1 Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 4 Feb 2022 17:56:11 -0600 Subject: [PATCH] Bug Fixes --- Commands/ticket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/ticket.js b/Commands/ticket.js index c728844..8813bab 100644 --- a/Commands/ticket.js +++ b/Commands/ticket.js @@ -270,7 +270,7 @@ module.exports = new Command({ fs.readFileSync("./Data/TicketData.json", "utf8") ); let ticket = await TicketData.tickets.findIndex( - (t) => t.id == ticketChannel.id + (t) => t.id === ticketChannel.id ); TicketData.tickets[ticket].open = false; fs.writeFileSync(