add whitelisted to response

This commit is contained in:
jejolare 2026-02-03 18:28:09 +07:00
parent fd6dbef24b
commit e2109d1177

View file

@ -132,6 +132,10 @@ class DexModel {
);
}
pairsWithCurrencies.whitelisted =
pairsWithCurrencies.first_currency.whitelisted &&
pairsWithCurrencies.second_currency.whitelisted;
return { success: true, data: pairsWithCurrencies };
} catch (err) {
console.log(err);