You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
Anyone know why this is happening? Sorry for any formatting issues, I'm new to github.
The text was updated successfully, but these errors were encountered:
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: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:
Anyone know why this is happening? Sorry for any formatting issues, I'm new to github.
The text was updated successfully, but these errors were encountered: