X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f8bca4fbcb739daa6a89dd52c219713dd1173287..6e81596609518d9202a00bd457af0a75648d30d9:/nominatim/clicmd/api.py diff --git a/nominatim/clicmd/api.py b/nominatim/clicmd/api.py index 41256b79..e198e541 100644 --- a/nominatim/clicmd/api.py +++ b/nominatim/clicmd/api.py @@ -292,7 +292,7 @@ class APIDetails: if args.polygon_geojson: details.geometry_output = napi.GeometryFormat.GEOJSON - result = api.lookup(place, details) + result = api.details(place, details) if result: output = api_output.format_result(