fix: Fix API endpoint for Frankfurter

(cherry picked from commit 33e72111c7)
This commit is contained in:
Corentin Forler
2024-10-02 10:06:44 +02:00
committed by Mergify
parent 7b158accec
commit 1c0843caee
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ def setup_currency_exchange():
ces.set("result_key", [])
ces.set("req_params", [])
ces.api_endpoint = "https://frankfurter.app/{transaction_date}"
ces.api_endpoint = "https://api.frankfurter.app/{transaction_date}"
ces.append("result_key", {"key": "rates"})
ces.append("result_key", {"key": "{to_currency}"})
ces.append("req_params", {"key": "base", "value": "{from_currency}"})