chore: switched frankfurter api domain from api.frankfurter.app to api.frankfurter.dev

This commit is contained in:
diptanilsaha
2025-11-25 11:44:55 +05:30
parent 47a6d34224
commit f1f68ead7d
7 changed files with 27 additions and 13 deletions

View File

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