Skip to content

Commit 10a249b

Browse files
authored
Merge pull request #8 from flightaware/BCK-7001_max_weekly_fix
Popped max_weekly when still needed
2 parents 18c81a6 + ff9402f commit 10a249b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

alerts_backend/python/app.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ def create_alert() -> Response:
140140
data["diverted"] = data["events"]["diverted"]
141141
data["filed"] = data["events"]["filed"]
142142
data.pop("events")
143-
data.pop("max_weekly")
144143
# Rename dates to avoid sql keyword "end" issue, and also change to Python datetime.datetime()
145144
# Default to None in case a user directly submits an incomplete payload
146145
data["start_date"] = data.pop("start", None)

0 commit comments

Comments
 (0)