Skip to content

Commit

Permalink
fix van create_event location_ids list bug (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
codygordon authored Jun 18, 2024
1 parent 606dfbc commit 7bc9b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsons/ngpvan/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def create_event(
}

if location_ids:
event["locations"] = ([{"locationId": location_id} for location_id in location_ids],)
event["locations"] = [{"locationId": location_id} for location_id in location_ids]

if code_ids:
event["codes"] = [{"codeID": c} for c in code_ids]
Expand Down

0 comments on commit 7bc9b0f

Please sign in to comment.