diff --git a/interactionHandlers/modals/resetPasswordModal.js b/interactionHandlers/modals/resetPasswordModal.js index e85954a..7a33eab 100644 --- a/interactionHandlers/modals/resetPasswordModal.js +++ b/interactionHandlers/modals/resetPasswordModal.js @@ -10,6 +10,8 @@ module.exports.execute = async (interaction) => { await interaction.reply({ content: `We're sorry, It doesn't look like you have an extension!`, ephemeral: true }); return; } + const extData = await fpbx.getExtension(lookup.extension); // Verify extension exists + console.log(extData) await interaction.deferReply({ ephemeral: true }); // console.log(JSON.stringify(interaction, null, 2)); const newPassword = interaction.fields.getTextInputValue('newPassword');