Bug Fixes
This commit is contained in:
1 parent
e02ecf9553
commit
dc660ed94a
1 file changed
+1
-1
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user