Skip to content

Commit

Permalink
FIX: NAV-150 - Fix incorrect keyword arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
clukas1 committed Aug 23, 2024
1 parent 3bfb644 commit 0502566
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public_transit_viewer/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def get_connections(
travel_date_time,
time_type=time_type,
query_config=QueryConfig(max_walking_duration=_convert_to_seconds(max_walking_duration),
max_transfer_number=max_transfers,
max_num_transfers=max_transfers,
max_travel_time=_convert_to_seconds(max_travel_time),
min_transfer_time=_convert_to_seconds(min_transfer_time),
min_transfer_duration=_convert_to_seconds(min_transfer_time),
accessibility=wheelchair_accessible,
bikes=bikes_allowed,
travel_modes=travel_mode_enums)
Expand Down Expand Up @@ -132,9 +132,9 @@ def get_isolines(
travel_date_time,
time_type=time_type,
query_config=QueryConfig(max_walking_duration=_convert_to_seconds(max_walking_duration),
max_transfer_number=max_transfers,
max_num_transfers=max_transfers,
max_travel_time=_convert_to_seconds(max_travel_time),
min_transfer_time=_convert_to_seconds(min_transfer_time),
min_transfer_duration=_convert_to_seconds(min_transfer_time),
accessibility=wheelchair_accessible,
bikes=bikes_allowed,
travel_modes=travel_mode_enums)
Expand Down

0 comments on commit 0502566

Please sign in to comment.