Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Prevent error caused by family request without defined item for children. #408

Merged
merged 2 commits into from
Sep 13, 2020

Conversation

edwinthinks
Copy link
Collaborator

Description

This PR addresses a bug in which a 500 error occurs when submitting a family request that has a child without a defined item that they need. The way this PR achieves is it is by modifying the query to skip sending a payload with children w/o items in need. In addition, it includes a UI change to hide the active toggle if the item isn't defined.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Built a request spec for this :)

Screenshots

Screen Shot 2020-08-29 at 12 24 15 PM

@edwinthinks edwinthinks merged commit 4597e03 into master Sep 13, 2020
@seanmarcia seanmarcia deleted the prevent-errorneous-api-call-for-family-requests branch October 3, 2020 01:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant