Skip to content

Commit

Permalink
fix editing orders to rejected packed and delivering
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhappyma authored Jan 8, 2025
1 parent 6593d73 commit f47c3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/edit-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ messagesClient.registerButton(
]),
]);
await interaction.showModal(modal);
bot.registerModal(modalId, async (interaction) => {
messagesClient.registerModal(modalId, async (interaction) => {
const content = interaction.fields.getTextInputValue("content");
if (status == orderStatus.REJECTED) {
await updateOrderStatus({
Expand Down

0 comments on commit f47c3f9

Please sign in to comment.