From b3feec67bcaf06594c32b1e04bbce6b09c469fc3 Mon Sep 17 00:00:00 2001 From: EliBoll <40479800+Eliboll@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:32:29 -0500 Subject: [PATCH] Revert "Update database_query.py" --- backend/database_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/database_query.py b/backend/database_query.py index 5ce0ed2..f795eab 100644 --- a/backend/database_query.py +++ b/backend/database_query.py @@ -253,7 +253,7 @@ def nearest_locations(latitude, longitude): location = (latitude, longitude) max_results = 1 how_to_rank = 'prominence' - search_radius = 15 + search_radius = 40 valid_types = ['food', 'restaurant', 'drugstore', 'pharmacy', 'bar', 'lodging', 'gas_station', 'grocery_or_supermarket', 'supermarket', 'shopping_mall', 'clothing_store', 'department_store', 'electronics_store', 'home_goods_store', 'jewelry_store', 'shoe_store', 'shopping_mall', 'store', 'book_store', 'convenience_store', 'liquor_store', 'meal_delivery', 'meal_takeaway', 'bakery', 'cafe'] # Find the most prominent location