Skip to content

Commit a8c9520

Browse files
Code formatting
1 parent fa27c1d commit a8c9520

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

bot/commands.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ const addInvoicePHI = async (
600600
if (order === null) throw new Error('order was not found');
601601
// only orders with status PAID_HOLD_INVOICE are released payments
602602
if (order.status !== 'PAID_HOLD_INVOICE') return;
603-
604603

605604
const buyer = await User.findOne({ _id: order.buyer_id });
606605
if (buyer === null) return;

util/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,9 @@ const getDetailedOrder = (
402402
const sellerAge = seller ? getUserAge(seller) : '';
403403
const buyerTrades = buyer ? buyer.trades_completed : 0;
404404
const sellerTrades = seller ? seller.trades_completed : 0;
405-
const settledByAdmin = order.settled_by_admin ? i18n.t('yes') : i18n.t('no');
405+
const settledByAdmin = order.settled_by_admin
406+
? i18n.t('yes')
407+
: i18n.t('no');
406408

407409
const message = i18n.t('order_detail', {
408410
order,

0 commit comments

Comments
 (0)