Skip to content

Commit

Permalink
Set pay with transfer and balance
Browse files Browse the repository at this point in the history
  • Loading branch information
kikakkz committed Sep 12, 2023
1 parent 75905f8 commit f633c4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/migrator/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func migrateOrder(ctx context.Context, tx *ent.Tx) error {
SetOrderType(order.Type).
SetCoinTypeID(good.CoinTypeID).
SetPaymentCoinTypeID(payment.CoinInfoID).
SetPaymentType(types.PaymentType_PayWithTransferAndBalance.String()).
SetTransferAmount(payment.Amount).
SetBalanceAmount(payment.PayWithBalanceAmount).
SetCoinUsdCurrency(payment.CoinUsdCurrency).
Expand Down

0 comments on commit f633c4b

Please sign in to comment.