From de9817e57654d9147749c8151b011a283c94bf24 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Fri, 21 Nov 2025 22:36:29 -0700 Subject: [PATCH] Reload with password change duh --- interactionHandlers/modals/resetPasswordModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactionHandlers/modals/resetPasswordModal.js b/interactionHandlers/modals/resetPasswordModal.js index 7e6ea1d..8e05717 100644 --- a/interactionHandlers/modals/resetPasswordModal.js +++ b/interactionHandlers/modals/resetPasswordModal.js @@ -26,7 +26,7 @@ module.exports.execute = async (interaction) => { try { const updated = await fpbx.updateExtPassword(lookup.extension, oldName, passwordToSet); //const updated = await fpbx.updateExtName(lookup.extension, passwordToSet); - console.log(updated) + await fpbx.reload(); await interaction.editReply({ content: `Your extension password has been reset successfully! Your new password is: ||\`${passwordToSet}\`||`, ephemeral: true }); } catch (error) { log.error(error);