Another Fix
This commit is contained in:
parent
83de989e97
commit
0a38ac6035
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue