Update onramper_buy_provider.dart (#1796)
Some checks are pending
Cache Dependencies / test (push) Waiting to run

This commit is contained in:
Serhii 2024-11-09 23:44:08 +02:00 committed by GitHub
parent 2881646037
commit 5301ee4584
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,7 +217,7 @@ class OnRamperBuyProvider extends BuyProvider {
'apiKey': _apiKey,
'mode': actionType,
'${prefix}defaultFiat': quote.fiatCurrency.name,
'${prefix}defaultCrypto': quote.cryptoCurrency.name,
'${prefix}defaultCrypto': defaultCrypto,
'${prefix}defaultAmount': amount.toString(),
if (paymentMethod != null) '${prefix}defaultPaymentMethod': paymentMethod,
'onlyOnramps': quote.rampId,