From 9a3c8a3c11bf02ac508c219196d8ea9e3e661af3 Mon Sep 17 00:00:00 2001 From: HarryPaulo Date: Tue, 1 Oct 2024 11:18:20 -0300 Subject: [PATCH] fix: new url for frankfurter.app, now use api.frankfurter.app Signed-off-by: Akhil Narang --- .../currency_exchange_settings/currency_exchange_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.py b/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.py index 39aff032b3d..2af06a17367 100644 --- a/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.py +++ b/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.py @@ -84,7 +84,7 @@ def get_api_endpoint(service_provider: str | None = None, use_http: bool = False if service_provider == "exchangerate.host": api = "api.exchangerate.host/convert" elif service_provider == "frankfurter.app": - api = "frankfurter.app/{transaction_date}" + api = "api.frankfurter.app/{transaction_date}" protocol = "https://" if use_http: