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

Issue with where() statement #228

Open
filipe-corredor opened this issue Oct 16, 2019 · 0 comments
Open

Issue with where() statement #228

filipe-corredor opened this issue Oct 16, 2019 · 0 comments

Comments

@filipe-corredor
Copy link

Hi. I'm having a certain issue with fetching specific values from a collection in mongodb using the where() statement. Both functions below return me empty arrays when they shouldn't:
image
Now I have two very similar functions that essentially do the same, but instead of getting the value userId from params it'll get it from a bearer token associated with the user logged, and it works fine. Here's the code for them:
image
Anyone know why this is happening? Sorry for any formatting issues, I'm new to github.

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