mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-19 17:31:03 +00:00
fix: remove price_per_unit from offer insert (generated column)
This commit is contained in:
@@ -428,7 +428,6 @@ export async function createFiatOffer(params: CreateOfferParams): Promise<string
|
|||||||
amount_crypto: amountCrypto,
|
amount_crypto: amountCrypto,
|
||||||
fiat_currency: fiatCurrency,
|
fiat_currency: fiatCurrency,
|
||||||
fiat_amount: fiatAmount,
|
fiat_amount: fiatAmount,
|
||||||
price_per_unit: fiatAmount / amountCrypto,
|
|
||||||
payment_method_id: paymentMethodId,
|
payment_method_id: paymentMethodId,
|
||||||
payment_details_encrypted: encryptedDetails,
|
payment_details_encrypted: encryptedDetails,
|
||||||
min_order_amount: minOrderAmount,
|
min_order_amount: minOrderAmount,
|
||||||
|
|||||||
Reference in New Issue
Block a user