Skip to content

Commit

Permalink
change parameter to follow docs correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarHatem28 committed Jan 8, 2025
1 parent 474c6bb commit 3e106af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/buy/onramper/onramper_buy_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,8 @@ class OnRamperBuyProvider extends BuyProvider {
'txnAmount': amount.toString(),
'skipTransactionScreen': "true",
if (paymentMethod != null) 'txnPaymentMethod': paymentMethod,
'onlyOnramps': quote.rampId,
'txnOnramp': quote.rampId,
'networkWallets': '$defaultCrypto:$cryptoCurrencyAddress',
'walletAddress': cryptoCurrencyAddress,
'supportSwap': "false",
'primaryColor': primaryColor,
'secondaryColor': secondaryColor,
Expand Down

0 comments on commit 3e106af

Please sign in to comment.