Skip to content

API Search User #326

@mobinjavari

Description

@mobinjavari

Hello, I would like to report a bug.

When the bot uses the API to search for a user, the following issue occurs.

In this scenario, we have two users: User1 and User10.

When the bot sends a request to the endpoint:

api/users?limit=50&sort=-created_at&load_sub=true&offset=0&search=User1&is_protocol=false

and User1 has been deleted from the panel, the API returns User10 instead. This happens because there is no proper filter in the search query to perform an exact username match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions