diff --git a/osm_rawdata/postgres.py b/osm_rawdata/postgres.py index 9770a10..81fbe7c 100755 --- a/osm_rawdata/postgres.py +++ b/osm_rawdata/postgres.py @@ -563,7 +563,7 @@ def queryRemote( return None task_id = result.json().get("task_id") - task_query_url = f"{self.url}/tasks/status/{task_id}" + task_query_url = f"{self.uri}/tasks/status/{task_id}" log.debug(f"Raw Data API Query URL: {task_query_url}") polling_interval = 2 # Initial polling interval in seconds