fix: new url for frankfurter.app, now use api.frankfurter.app

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
HarryPaulo
2024-10-01 11:18:20 -03:00
committed by Akhil Narang
parent 13f5634570
commit 9a3c8a3c11

View File

@@ -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: