Skip to content

Commit

Permalink
fix:altitude in gcp list
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Jan 2, 2025
1 parent 6298213 commit a5396f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/app/gcp/gcp_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


Expand All @@ -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
)

0 comments on commit a5396f6

Please sign in to comment.