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

Gym request bug fix #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Gym request bug fix #159

wants to merge 1 commit into from

Conversation

siman4457
Copy link

Allow users to select United States as a country when making a gym request.

Issue:
Previously when a user selected United States as a country when creating a Gym Request, the form would display the error "Invalid Country". Upon closer inspection, it turned out that selecting United States resulted in a null value for country. This is due to two selections that start with "United States":

  • United States
  • United States Minor Outlying Islands

Solution:
Add a check for when a user selects United States specifically and emit matchedItem.

Allow user to select United States as a country when making a gym request
@siman4457 siman4457 marked this pull request as draft June 5, 2022 03:18
@siman4457 siman4457 marked this pull request as ready for review June 5, 2022 03:20
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