Skip to content

fix(Stops.Api): handle missing relationships - #3495

Merged
thecristen merged 1 commit into
mainfrom
cbj/algolia-stops-fix
Sep 14, 2026
Merged

fix(Stops.Api): handle missing relationships#3495
thecristen merged 1 commit into
mainfrom
cbj/algolia-stops-fix

Conversation

@thecristen

Copy link
Copy Markdown
Collaborator

Scope

Asana Ticket: QF | FunctionClauseError: no function clause matching in Stops.Api.fare_facilities/1

Implementation

This was interfering with re-indexing Algolia because the controller for rendering all stops would crash. The V3 API response for Wareham, a Cape Flyer stop, was missing the facility and zone relationships. This PR adjusts our parsing to handle that more gracefully.

@thecristen
thecristen requested a review from a team as a code owner September 14, 2026 19:26
@thecristen
thecristen requested a review from jlucytan September 14, 2026 19:26
@thecristen
thecristen enabled auto-merge (squash) September 14, 2026 19:26
@thecristen
thecristen merged commit 0837cf3 into main Sep 14, 2026
29 checks passed
@thecristen
thecristen deleted the cbj/algolia-stops-fix branch September 14, 2026 19:43
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.

2 participants