mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-11 13:38:38 +03:00
Update format
This commit is contained in:
@@ -162,7 +162,9 @@ class OrionAggregator {
|
||||
url.searchParams.append('amountOut', amount);
|
||||
}
|
||||
if (exchanges) {
|
||||
url.searchParams.append('exchanges', exchanges.join(','));
|
||||
exchanges.forEach((exchange) => {
|
||||
url.searchParams.append('exchanges', exchange);
|
||||
});
|
||||
}
|
||||
|
||||
return fetchWithValidation(
|
||||
|
||||
Reference in New Issue
Block a user