File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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,
You can’t perform that action at this time.
0 commit comments