Skip to content

Commit

Permalink
Merge pull request #8 from flightaware/BCK-7001_max_weekly_fix
Browse files Browse the repository at this point in the history
Popped max_weekly when still needed
  • Loading branch information
jacob-y-pan authored Jul 8, 2022
2 parents 18c81a6 + ff9402f commit 10a249b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alerts_backend/python/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ def create_alert() -> Response:
data["diverted"] = data["events"]["diverted"]
data["filed"] = data["events"]["filed"]
data.pop("events")
data.pop("max_weekly")
# Rename dates to avoid sql keyword "end" issue, and also change to Python datetime.datetime()
# Default to None in case a user directly submits an incomplete payload
data["start_date"] = data.pop("start", None)
Expand Down

0 comments on commit 10a249b

Please sign in to comment.