Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed zip code error #2

Merged
merged 1 commit into from
May 28, 2024
Merged

Fixed zip code error #2

merged 1 commit into from
May 28, 2024

Conversation

StefanBossbaly
Copy link
Owner

Looks like Amtrak API can't make up their mind. They mostly serialize the zip code as a String but for an unknown zip code (why is it unknown?) they will just use the integer type and serialize a 0. I will handle this more elegantly in the future but this will do for now.

Looks like Amtrak API can't make up their mind. They mostly serialize
the zip code as a String but for an unknown zip code (why is it
unknown?) they will just use the integer type and serialize a 0. I will
handle this more elegantly in the future but this will do for now.
@StefanBossbaly StefanBossbaly merged commit 29ec12b into master May 28, 2024
3 checks passed
@StefanBossbaly StefanBossbaly deleted the fix-zip-error branch May 28, 2024 03:16
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