add whitelisted to response
This commit is contained in:
parent
fd6dbef24b
commit
e2109d1177
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue