From fc453a0f03573f81c3c357ece49d9e8c58bae194 Mon Sep 17 00:00:00 2001 From: Nate-Wessel Date: Thu, 5 Dec 2024 21:18:45 +0000 Subject: [PATCH] change attribute name --- backend/app/get_nearest_centreline_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/get_nearest_centreline_node.py b/backend/app/get_nearest_centreline_node.py index 7f1c1ce..c15bfa7 100644 --- a/backend/app/get_nearest_centreline_node.py +++ b/backend/app/get_nearest_centreline_node.py @@ -41,7 +41,7 @@ def get_nearest_centreline_node(longitude, latitude): 'centreline_id': centreline_id, 'street_names': street_names, 'geometry': loadJSON(geojson), - 'distance_from_supplied_coordinates': distance + 'distance': distance } connection.close() return node