fix: negative perf color, parallel SP calls in chart controller, sort comment

This commit is contained in:
2026-06-08 18:01:20 +02:00
parent 201b3b39c4
commit 9a73ae9a1b
2 changed files with 12 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ public class FundDataService : IFundDataService
_logger.LogError(ex, "Errore GetChartPricesAsync per ISIN {Isin}", isin);
throw;
}
points.Sort((a, b) => a.Date.CompareTo(b.Date));
points.Sort((a, b) => a.Date.CompareTo(b.Date)); // defensive: SP returns ASC but enforce here
return points;
}