Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
elsholz committed Jan 13, 2024
1 parent af0ad3a commit 991cc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/code/metroplanner_api/v1/endpoints/_planstates.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def post_planstate(
set_planstate_data["created_at"] = (now := datetime.now().isoformat())

created_result = db.planstates.insert_one(
{set_planstate_data}
set_planstate_data
| {
"lines": planstate_data.lines,
"nodes": planstate_data.nodes,
Expand Down

0 comments on commit 991cc22

Please sign in to comment.