shift to self-hosted frankfurter api (#14792)
This commit is contained in:
parent
da17ceea73
commit
5c3b69476d
@ -95,7 +95,7 @@ def get_exchange_rate(from_currency, to_currency, transaction_date=None):
|
||||
|
||||
if not value:
|
||||
import requests
|
||||
api_url = "https://exchangeratesapi.io/api/{0}".format(transaction_date)
|
||||
api_url = "https://frankfurter.erpnext.org/{0}".format(transaction_date)
|
||||
response = requests.get(api_url, params={
|
||||
"base": from_currency,
|
||||
"symbols": to_currency
|
||||
|
Loading…
x
Reference in New Issue
Block a user