From 47a1dbab96d6a10b2e71626a44ed195d67d9cbfa Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Mon, 12 Nov 2018 15:57:24 +0530 Subject: [PATCH] fix: changed currency exchange API to frankfurter (#15958) - Switched to Frankfurter's public API (frankfurter.app) from self hosted API (frankfurter.erpnext.org) --- erpnext/setup/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py index 309866bbcc7..0216c3ba69a 100644 --- a/erpnext/setup/utils.py +++ b/erpnext/setup/utils.py @@ -98,7 +98,7 @@ def get_exchange_rate(from_currency, to_currency, transaction_date=None, args=No if not value: import requests - api_url = "https://frankfurter.erpnext.org/{0}".format(transaction_date) + api_url = "https://frankfurter.app/{0}".format(transaction_date) response = requests.get(api_url, params={ "base": from_currency, "symbols": to_currency