Skip to content

Commit

Permalink
fix flight_numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
carrino committed Jul 23, 2024
1 parent d74d32d commit 9872ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def to_flight_path_request(throw_summary: Dict) -> Dict:

flight_numbers = throw_summary.get("estimatedFlightNumbers", None)
if not flight_numbers:
flight_numbers = flight_path_request["flight_numbers"]
flight_numbers = throw_summary.get("flight_numbers", None)

if flight_numbers:
flight_path_request["flight_numbers"] = flight_numbers
Expand Down

0 comments on commit 9872ab5

Please sign in to comment.