From 6bb6cf6de082607ab64f22ac12d1348683ce2273 Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Fri, 12 Apr 2024 09:51:38 -0700 Subject: [PATCH] add buy/sell widget param --- lib/buy/meld/meld_provider.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/buy/meld/meld_provider.dart b/lib/buy/meld/meld_provider.dart index ea60988ed..c7b33a611 100644 --- a/lib/buy/meld/meld_provider.dart +++ b/lib/buy/meld/meld_provider.dart @@ -64,6 +64,7 @@ class MeldProvider extends BuyProvider { String? amount, }) async { final params = { + "transactionType": "SELL", "publicKey": secrets.meldApiKey, "theme": convertTheme(settingsStore.currentTheme), "sourceCurrencyCode": currencyCode.toUpperCase(), @@ -83,6 +84,7 @@ class MeldProvider extends BuyProvider { String? amount, }) async { final params = { + "transactionType": "BUY", "publicKey": secrets.meldApiKey, "theme": convertTheme(settingsStore.currentTheme), "destinationCurrencyCode": currencyCode.toUpperCase(),