diff --git a/api/s24_coordinates.py b/api/s24_coordinates.py index ba0fa21..1e6d5f2 100644 --- a/api/s24_coordinates.py +++ b/api/s24_coordinates.py @@ -50,7 +50,7 @@ def get_links_in_extent(name: str, x1: float, y1: float, x2: float, y2: float) - all_link_ids = [] with conn[name].cursor(row_factory=dict_row) as cur: - cur.execute(f"select id from pipes where order by id") + cur.execute(f"select id from pipes") for record in cur: all_link_ids.append(record['id'])