WIP: generovani trasy planu
This commit is contained in:
@@ -52,7 +52,6 @@ class FlightPlanMutationResolver(BaseMutationResolver):
|
||||
position = 0
|
||||
|
||||
for marker in markers:
|
||||
|
||||
if marker.type == 'poi':
|
||||
assert bool(marker.point_of_interest_id)
|
||||
|
||||
@@ -71,6 +70,8 @@ class FlightPlanMutationResolver(BaseMutationResolver):
|
||||
})
|
||||
position += 1
|
||||
|
||||
|
||||
|
||||
@staticmethod
|
||||
async def reset_plan_markers(db, flight_plan: models.FlightPlan):
|
||||
await db.execute(
|
||||
|
||||
Reference in New Issue
Block a user