From d7ae5c0c9e7d01e27ec298ef4ba79b7e4f83173b Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 9 Feb 2023 17:39:53 +0000 Subject: [PATCH] fix: don't give useless `#unknown-channel` in ticket close logs --- src/lib/tickets/manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tickets/manager.js b/src/lib/tickets/manager.js index 2c1e319..08595ca 100644 --- a/src/lib/tickets/manager.js +++ b/src/lib/tickets/manager.js @@ -1092,7 +1092,7 @@ module.exports = class TicketManager { action: 'close', target: { id: ticket.id, - name: channel.toString(), + name: `[${ticket.number}]`, }, userId: closedBy, });