Populate historical fiat prices from latest to oldest

This commit is contained in:
natsoni 2024-03-11 18:02:30 +01:00
parent 91ec0c8382
commit b99e5c4160
No known key found for this signature in database
GPG Key ID: C65917583181743B

View File

@ -281,7 +281,7 @@ class PricesRepository {
WHERE USD != -1
AND -1 IN (EUR, GBP, CAD, CHF, AUD, JPY, BGN, BRL, CNY, CZK, DKK, HKD, HRK, HUF, IDR, ILS, INR, ISK, KRW,
MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, ZAR)
ORDER BY time
ORDER BY time DESC
`);
if (!Array.isArray(times)) {
return [];