Skip to content

strip falsy phone vals#50

Closed
hashmapenjoyer wants to merge 1 commit into
mainfrom
ben-strip-falsy-phone-vals
Closed

strip falsy phone vals#50
hashmapenjoyer wants to merge 1 commit into
mainfrom
ben-strip-falsy-phone-vals

Conversation

@hashmapenjoyer
Copy link
Copy Markdown
Collaborator

When user submitted a phone value, it was sometimes something like 'null' or the empty string and it was fucking with mongo's sparse index.

I made sure any falsy values got changed to undefined.

@hashmapenjoyer
Copy link
Copy Markdown
Collaborator Author

ian added this code to his branch
image

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