Changed api to prod mode.

M committed Mar 18, 2021 at 11:15 UTC e77cf8965192fd5b1929f4f23a7d16ce08270279
1 file changed +4 -5
lib/view_model/dashboard/dashboard_view_model.dart
+4 -5
@@ -333,16 +333,15 @@ abstract class DashboardViewModelBase with Store {
333
334 Future<String> getWyreUrl() async {
335 final timestamp = DateTime.now().millisecondsSinceEpoch.toString();
336 - final url = 'https://api.testwyre.com/v3/orders/reserve' + '?timestamp=' +
336 + final url = 'https://api.sendwyre.com/v3/orders/reserve' + '?timestamp=' +
337 timestamp;
338 - final apiKey = secrets.wyreApiKey;
338 final secretKey = secrets.wyreSecretKey;
339 final accountId = secrets.wyreAccountId;
340 final body = {
342 - //'destCurrency' : walletTypeToCryptoCurrency(type).title,
343 - //'dest' : walletTypeToString(type).toLowerCase() + ':' + address,
341 + 'destCurrency' : walletTypeToCryptoCurrency(type).title,
342 + 'dest' : walletTypeToString(type).toLowerCase() + ':' + address,
343 'referrerAccountId' : accountId,
345 - //'lockFields' : ['destCurrency', 'dest']
344 + 'lockFields' : ['destCurrency', 'dest']
345 };
346
347 final response = await post(url,