diff --git a/router_class.py b/router_class.py index e05c8d6..674eaa0 100644 --- a/router_class.py +++ b/router_class.py @@ -28,13 +28,7 @@ async def get_flight(request: TripRequest): resultTo = genetic_algorithm(start=start_point, end=end_point, graph=graphTo, flights_data=flightsDataTo, type="to") resultTo.append({ - "back": [ - { - "id": None, - "departurePoint": None, - "destinationPoint": None - } - ] + "back": [] }) if not resultTo: