adasd
All checks were successful
Deploy / deploy-staging (push) Successful in 7s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-02 01:20:34 +02:00
parent 2de8c95fdb
commit c098413e23
3 changed files with 14 additions and 9 deletions

View File

@@ -272,7 +272,7 @@ final class FxRatesRepository
$params['to_at'] = $to;
}
$sql .= ' ORDER BY f.fetched_at ASC, r.id ASC LIMIT :limit';
$sql .= ' ORDER BY f.fetched_at DESC, r.id DESC LIMIT :limit';
$stmt = $this->pdo->prepare($sql);
foreach ($params as $key => $value) {
$stmt->bindValue(':' . $key, $value);