Skip to content

Commit

Permalink
fix for Hyannis CapeFlyer reference service
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Oct 30, 2023
1 parent cd217c0 commit a06d2fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/site/lib/site_web/controllers/stop_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ defmodule SiteWeb.StopController do
case Services.Repo.by_route_id(route_id) do
[%Service{} | _] = services ->
services
|> Enum.reject(&(&1.id === "canonical"))
|> Enum.filter(&Service.serves_date?(&1, Timex.today()))
|> Enum.empty?()

Expand Down

0 comments on commit a06d2fc

Please sign in to comment.