fix: auto closing tickets

This commit is contained in:
Isaac 2023-06-06 20:22:36 +01:00
parent f995589627
commit 24360e4dcd
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -168,7 +168,7 @@ module.exports = class extends Listener {
], ],
}); });
} else if ($.closeAt < Date.now()) { } else if ($.closeAt < Date.now()) {
client.tickets.finallyClose(ticketId, $.reason); client.tickets.finallyClose(ticketId, $);
} }
} }