From a5396f6ace9a8b3a4593e30bcb989ffce2e7b9e4 Mon Sep 17 00:00:00 2001 From: Niraj Adhikari Date: Thu, 2 Jan 2025 17:41:05 +0545 Subject: [PATCH] fix:altitude in gcp list --- src/backend/app/gcp/gcp_routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/app/gcp/gcp_routes.py b/src/backend/app/gcp/gcp_routes.py index bc68cdba..a2ff327e 100644 --- a/src/backend/app/gcp/gcp_routes.py +++ b/src/backend/app/gcp/gcp_routes.py @@ -30,7 +30,7 @@ async def find_images( fov_degree = 82.1 # For DJI Mini 4 Pro result = await project_schemas.DbProject.one(db, project_id) return await gcp_crud.find_images_in_a_task_for_point( - project_id, task_id, point, fov_degree, result.altitude + project_id, task_id, point, fov_degree, result.altitude_from_ground ) @@ -48,5 +48,5 @@ async def find_images_for_a_project( task_id_list = await list_task_id_for_project(db, project_id) return await gcp_crud.find_images_in_a_project_for_point( - project_id, task_id_list, point, fov_degree, result.altitude + project_id, task_id_list, point, fov_degree, result.altitude_from_ground )