mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 02:01:26 +03:00
fix: decrypt feedback comment in close log
This commit is contained in:
@@ -1369,7 +1369,7 @@ module.exports = class TicketManager {
|
|||||||
{
|
{
|
||||||
inline: true,
|
inline: true,
|
||||||
name: getMessage('modals.feedback.comment.label'),
|
name: getMessage('modals.feedback.comment.label'),
|
||||||
value: ticket.feedback.comment || getMessage('ticket.answers.no_value'),
|
value: (ticket.feedback.comment && await quick('crypto', worker => worker.decrypt(ticket.feedback.comment))) || getMessage('ticket.answers.no_value'),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (reason) fieldsArray.push(fields.reason);
|
if (reason) fieldsArray.push(fields.reason);
|
||||||
|
Reference in New Issue
Block a user