v1.0.14 - Fix: usar getRateForDateWithFallback (busca hacia atras)

This commit is contained in:
2026-07-03 19:18:22 -04:00
parent ed5db46168
commit 16455abff5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: BCV Exchange Rate Plugin
Bundle-SymbolicName: com.venezuela.bcvrate;singleton:=true
Bundle-Version: 1.0.13
Bundle-Version: 1.0.14
Bundle-Vendor: Ezerpa
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-ActivationPolicy: lazy
@@ -206,7 +206,7 @@ public class BCVExchangeRateProcess extends SvrProcess {
return;
}
BCVRateResponse rateResponse = apiService.getLatestRate();
BCVRateResponse rateResponse = apiService.getRateForDateWithFallback(dateStr);
if (rateResponse == null || !rateResponse.isValid()) {
log.warning("No se pudo obtener tasa del BCV para " + dateStr);