Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Setting 'scope' in opts does not work #101

@tprebenda

Description

@tprebenda

I am trying to specify scope = 'one' to prevent my queries from recursively searching subgroups, so I have tried using the following opts:

const opts = { scope: 'one' as const, // need to declare as const or the request fails... };

When I run getUsersForGroup with the provided opts, however, it returns the same list of users as when I don't provide these opts (all users of all subgroups, recursively searched).

I need to only retrieve the first level of users/groups for a given query, I don't want to recursively search all subgroups.

Can anyone help?

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