mirror of
https://github.com/seigler/cryptohistory.org
synced 2025-07-27 09:46:10 +00:00
feat: update examples, finish USDT support
This commit is contained in:
parent
c05de815f4
commit
945ad8d2be
2 changed files with 7 additions and 7 deletions
|
@ -135,7 +135,7 @@ function renderChart(
|
|||
}
|
||||
CacheManager::set('poloniex-supported-currencies', $supportedCurrencies, 60 * 60 * 24 * 7); // asking once a week doesn't seem like too much
|
||||
}
|
||||
if ($currencyB != 'btc' || !in_array($currencyA, $supportedCurrencies)) {
|
||||
if (!in_array($currencyB, ['btc', 'usdt']) || !in_array($currencyA, $supportedCurrencies)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue