diff --git a/examples/search_sighting.py b/examples/search_sighting.py index 8e517c7..67e9b4e 100644 --- a/examples/search_sighting.py +++ b/examples/search_sighting.py @@ -14,7 +14,7 @@ def init(url, key): def search_sighting(m, context, out=None, **kwargs): - result = m.sighting_search(context, **kwargs) + result = m.search_sightings(context, **kwargs) if out is None: print(json.dumps(result['response'])) else: