geolocalized-tasks: Fix mistake at api.py