Skip to content

Commit

Permalink
hotfix(TimetableController): fallback clause
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Sep 11, 2024
1 parent 01c76d9 commit 13f933e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dotcom_web/controllers/schedule/timetable_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ defmodule DotcomWeb.ScheduleController.TimetableController do
id in stop_ids or parent_id in stop_ids
end

defp contains_stop?(_stops, _), do: false

# Some shuttle stops must be placed manually within the existing stops. Each
# key is a scheduled stop ID from a shuttle, and the corresponding value is
# the name of the canonical rail stop it should be placed adjacent to in the
Expand Down

0 comments on commit 13f933e

Please sign in to comment.