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

traits method will throw an error if the property value is not an object #116

Open
ccnixon opened this issue Mar 15, 2019 · 0 comments
Open

Comments

@ccnixon
Copy link
Contributor

ccnixon commented Mar 15, 2019

See here: https://github.com/segmentio/facade/blob/master/lib/facade.js#L344.

This line will throw if the user has not defined their traits property as an object. This is a current issue for a user sending in traits as a string.

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

No branches or pull requests

1 participant