From 502f48866ade95721400393ca15c196ac8428ca5 Mon Sep 17 00:00:00 2001 From: Isaac Date: Sun, 25 Jun 2023 15:01:39 +0100 Subject: [PATCH] fix: encrypt topic --- src/modals/questions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modals/questions.js b/src/modals/questions.js index f74c620..799e192 100644 --- a/src/modals/questions.js +++ b/src/modals/questions.js @@ -65,7 +65,7 @@ module.exports = class QuestionsModal extends Modal { where: { id: Number(f.customId) }, })), }, - topic, + topic: topic ? encrypt(topic) : null, }, select, where: { id: interaction.channel.id },