Update format

This commit is contained in:
Aleksandr Kraiz
2022-05-28 12:29:12 +04:00
parent fd212d2366
commit 1702910a26
4 changed files with 21 additions and 16 deletions

View File

@@ -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(