From 976bcf2672552a9a4a2e9d21f330d43a3dcec5a1 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Tue, 18 Nov 2025 12:13:59 -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 3a4ac1a..835d05d 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 { - const updated = await fpbx.updateExtPassword(lookup.extension, passwordToSet); + //const updated = await fpbx.updateExtPassword(lookup.extension, passwordToSet); + const updated = await fpbx.updateExtName(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) {