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

'language' method in user model throws error #1307

Open
alexkopro opened this issue Apr 30, 2021 · 0 comments
Open

'language' method in user model throws error #1307

alexkopro opened this issue Apr 30, 2021 · 0 comments

Comments

@alexkopro
Copy link

If a user has a 'data' field with no 'language' key in it, the language method of user model throws an error when it tries to upcase : JSON.parse(data)['language'].upcase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant