Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bot/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 0 additions & 1 deletion bot/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ const askForConfirmation = async (user: UserDocument, command: string) => {
{
$or: [
{ status: 'PAID_HOLD_INVOICE' },
{ status: 'FROZEN' },
],
},
]
Expand Down
Loading