From b99e5c4160d9039bac7d43cb0be3a4b69088e007 Mon Sep 17 00:00:00 2001 From: natsoni Date: Mon, 11 Mar 2024 18:02:30 +0100 Subject: [PATCH] Populate historical fiat prices from latest to oldest --- backend/src/repositories/PricesRepository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/repositories/PricesRepository.ts b/backend/src/repositories/PricesRepository.ts index 97566b2fc..31098193d 100644 --- a/backend/src/repositories/PricesRepository.ts +++ b/backend/src/repositories/PricesRepository.ts @@ -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 [];