dev-perl/Finance-Quote: Fixup.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
This commit is contained in:
Manuel Friedli 2022-09-08 04:06:55 +02:00
parent 71b5f3492f
commit b206eb8de1
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
3 changed files with 7 additions and 3 deletions

View file

@ -32,7 +32,7 @@ index b6c4d7f..47b9393 100644
+ } else {
+ my $target = substr($json_data->{'Meta Data'}->{'5. Last Refreshed'}, 0, 10);
+ $rate =
+ $json_data->{'Time Series FX (Daily)'}->{target}->{'4. close'};
+ $json_data->{'Time Series FX (Daily)'}->{$target}->{'4. close'};
+ }
+
+ ### Rate from JSON: $rate