Another Fix

This commit is contained in:
Christopher Cookman 2025-11-13 09:07:04 -07:00
parent 83de989e97
commit 0a38ac6035

View file

@ -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 }); await interaction.reply({ content: `We're sorry, It doesn't look like you have an extension!`, ephemeral: true });
return; return;
} }
const extData = await fpbx.getExtension(lookup.extension); // Verify extension exists
console.log(extData)
await interaction.deferReply({ ephemeral: true }); await interaction.deferReply({ ephemeral: true });
// console.log(JSON.stringify(interaction, null, 2)); // console.log(JSON.stringify(interaction, null, 2));
const newPassword = interaction.fields.getTextInputValue('newPassword'); const newPassword = interaction.fields.getTextInputValue('newPassword');