Skip to content

Commit

Permalink
refactor(route): update route resource endpoint to use route_id param…
Browse files Browse the repository at this point in the history
…eter
  • Loading branch information
Ahmedhossamdev committed Jul 5, 2024
1 parent 3760fc5 commit 643d71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onebusaway/resources/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def retrieve(
if not route_id:
raise ValueError(f"Expected a non-empty value for `route_id` but received {route_id!r}")
return self._get(
f"/api/where/route/routeID.json",
f"/api/where/route/{route_id}.json",
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
Expand Down

0 comments on commit 643d71d

Please sign in to comment.