From e65297dcdf345bbb90c6ed74bb6b3a5e1e58f7af Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Tue, 18 Nov 2025 12:11:29 -0700 Subject: [PATCH] Another Fix --- interactionHandlers/modals/resetPasswordModal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interactionHandlers/modals/resetPasswordModal.js b/interactionHandlers/modals/resetPasswordModal.js index 7a33eab..3a4ac1a 100644 --- a/interactionHandlers/modals/resetPasswordModal.js +++ b/interactionHandlers/modals/resetPasswordModal.js @@ -23,7 +23,8 @@ module.exports.execute = async (interaction) => { passwordToSet = Array.from({ length }, () => chars.charAt(Math.floor(Math.random() * chars.length))).join(''); } try { - await fpbx.updateExtPassword(lookup.extension, passwordToSet); + const updated = await fpbx.updateExtPassword(lookup.extension, passwordToSet); + console.log(updated) await interaction.editReply({ content: `Your extension password has been reset successfully! Your new password is: ||\`${passwordToSet}\`||`, ephemeral: true }); } catch (error) { log.error(error);