fix: don't give useless #unknown-channel in ticket close logs

This commit is contained in:
Isaac 2023-02-09 17:39:53 +00:00
parent 0d1cb90e7e
commit d7ae5c0c9e
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -1092,7 +1092,7 @@ module.exports = class TicketManager {
action: 'close', action: 'close',
target: { target: {
id: ticket.id, id: ticket.id,
name: channel.toString(), name: `[${ticket.number}]`,
}, },
userId: closedBy, userId: closedBy,
}); });