From aaad386dfcea12088837e654c8f1fc5b909ebace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Calder=C3=B3n?= Date: Tue, 1 Jul 2025 13:24:59 -0300 Subject: [PATCH] Fix frozen --- bot/commands.ts | 2 +- bot/start.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/commands.ts b/bot/commands.ts index 90773d16..da9c063b 100644 --- a/bot/commands.ts +++ b/bot/commands.ts @@ -583,7 +583,7 @@ const addInvoicePHI = async (ctx: CommunityContext, bot: HasTelegram, orderId: s if (order === null) throw new Error("order was not found"); // orders with status PAID_HOLD_INVOICE are released payments - if (order.status !== 'PAID_HOLD_INVOICE' && order.status !== 'FROZEN') { + if (order.status !== 'PAID_HOLD_INVOICE') { return; } diff --git a/bot/start.ts b/bot/start.ts index 020706d5..d38e1aa3 100644 --- a/bot/start.ts +++ b/bot/start.ts @@ -132,7 +132,6 @@ const askForConfirmation = async (user: UserDocument, command: string) => { { $or: [ { status: 'PAID_HOLD_INVOICE' }, - { status: 'FROZEN' }, ], }, ]