Migrate trocador api (#2009)

Omar Hatem committed Feb 17, 2025 at 15:23 UTC 537c59b684b78ae8609f5c45679b785e6491de2c
1 file changed +5 -5
lib/exchange/provider/trocador_exchange_provider.dart
+5 -5
@@ -53,12 +53,12 @@ class TrocadorExchangeProvider extends ExchangeProvider {
53
54 static const apiKey = secrets.trocadorApiKey;
55 static const onionApiAuthority = 'trocadorfyhlu27aefre5u7zri66gudtzdyelymftvr4yjwcxhfaqsid.onion';
56 - static const clearNetAuthority = 'trocador.app';
56 + static const clearNetAuthority = 'api.trocador.app';
57 static const markup = secrets.trocadorExchangeMarkup;
58 - static const newRatePath = '/api/new_rate';
59 - static const createTradePath = 'api/new_trade';
60 - static const tradePath = 'api/trade';
61 - static const coinPath = 'api/coin';
58 + static const newRatePath = '/new_rate';
59 + static const createTradePath = '/new_trade';
60 + static const tradePath = '/trade';
61 + static const coinPath = '/coin';
62
63 String _lastUsedRateId;
64 List<dynamic> _provider;