Skip to content

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

@LukaszStaniszewski

Description

@LukaszStaniszewski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions