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

How to get list of items that belongs to logged user ? #48

Open
LukaszStaniszewski opened this issue Jan 22, 2023 · 0 comments
Open

How to get list of items that belongs to logged user ? #48

LukaszStaniszewski opened this issue Jan 22, 2023 · 0 comments

Comments

@LukaszStaniszewski
Copy link

LukaszStaniszewski commented Jan 22, 2023

Problem

I have a logged in user with id of 2. I would like to get only items from the array that belongs to this user (have userId: 2). How to do that cus every time I make a request im getting in response whole array. Calling request for only one item works just fine - user with id 2 is not authorized to get object with userId: 1
Screen Shot 2023-01-22 at 20 52 31 PM

routes.json

Screen Shot 2023-01-22 at 20 57 31 PM

@LukaszStaniszewski LukaszStaniszewski changed the title How to get list of items that belongs to logged user How to get list of items that belongs to logged user ? Jan 22, 2023
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