Skip to content

fix(StopController): alerts by_stop_id/1 - #3386

Open
thecristen wants to merge 1 commit into
mainfrom
cbj/alerts-stop-id
Open

fix(StopController): alerts by_stop_id/1#3386
thecristen wants to merge 1 commit into
mainfrom
cbj/alerts-stop-id

Conversation

@thecristen

Copy link
Copy Markdown
Collaborator

I just realized we have an existing way to fetch alerts by stop ID and a place which wasn't using it.
Running the tests reveals that the stop pages (for individual stops) were fetching all stops for a stop ID twice - the second time while getting banner alerts. So I ended up refactoring it a little to avoid that duplication.

Should be a no-op.

@thecristen
thecristen requested a review from a team as a code owner July 31, 2026 21:41
@thecristen
thecristen requested a review from joshlarson July 31, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant