Skip to content

Commit

Permalink
fix geocoding
Browse files Browse the repository at this point in the history
  • Loading branch information
madisvain committed Jan 12, 2024
1 parent 19d891d commit 24dbeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vatcomply/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ async def get(self, request):
class CurrenciesView(View):
async def get(self, request):
currencies = {}

for symbol in list(settings.CURRENCY_SYMBOLS):
currencies[symbol] = {
"name": get_currency_name(symbol, locale="en"),
Expand All @@ -58,7 +59,6 @@ async def get(self, request):
country_code = request.headers.get("CF-IPCountry")
ip = request.headers.get("CF-Connecting-IP")

country_code = "EE"
if not country_code:
return JsonResponse(
{
Expand Down

1 comment on commit 24dbeb6

@vercel
Copy link

@vercel vercel bot commented on 24dbeb6 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.