mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 22:09:36 +02:00
Refactor geocoding and integration handling: remove debug print, streamline reverse geocoding logic, and enhance integration response structure
This commit is contained in:
parent
c123231bab
commit
e56335d30f
16 changed files with 95 additions and 46 deletions
|
@ -166,7 +166,6 @@ def is_host_resolvable(hostname: str) -> bool:
|
|||
|
||||
def reverse_geocode(lat, lon, user):
|
||||
if getattr(settings, 'GOOGLE_MAPS_API_KEY', None):
|
||||
print("Using Google Maps API for reverse geocoding")
|
||||
return reverse_geocode_google(lat, lon, user)
|
||||
return reverse_geocode_osm(lat, lon, user)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue