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-ManifestVersion: 2
|
||||||
Bundle-Name: BCV Exchange Rate Plugin
|
Bundle-Name: BCV Exchange Rate Plugin
|
||||||
Bundle-SymbolicName: com.venezuela.bcvrate;singleton:=true
|
Bundle-SymbolicName: com.venezuela.bcvrate;singleton:=true
|
||||||
Bundle-Version: 1.0.13
|
Bundle-Version: 1.0.14
|
||||||
Bundle-Vendor: Ezerpa
|
Bundle-Vendor: Ezerpa
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ public class BCVExchangeRateProcess extends SvrProcess {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
BCVRateResponse rateResponse = apiService.getLatestRate();
|
BCVRateResponse rateResponse = apiService.getRateForDateWithFallback(dateStr);
|
||||||
|
|
||||||
if (rateResponse == null || !rateResponse.isValid()) {
|
if (rateResponse == null || !rateResponse.isValid()) {
|
||||||
log.warning("No se pudo obtener tasa del BCV para " + dateStr);
|
log.warning("No se pudo obtener tasa del BCV para " + dateStr);
|
||||||
|
|||||||
Reference in New Issue
Block a user