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
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
routes.json
The text was updated successfully, but these errors were encountered:
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
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
routes.json
The text was updated successfully, but these errors were encountered: