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);