v1.0.14 - Fix: usar getRateForDateWithFallback (busca hacia atras)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user