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

fix: user addresses - reset region if changing country #1140

Merged
merged 1 commit into from
Jun 21, 2022
Merged

Conversation

sethidden
Copy link
Contributor

Before this PR if you changed from a country with available_regions to one that didn't have regions, updating the address would silently fail. That happened because the app would send the stale region_id information and attempt to set eg. Germany's region_id for the country Czech Republic, which would never be found.

@Frodigo Frodigo added this to the 1.0.0-rc.10 milestone Jun 17, 2022
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