blockedUsers
talawa-api / resolvers/Organization/blockedUsers / blockedUsers
Variable: blockedUsers
> const
blockedUsers: OrganizationResolvers
["blockedUsers"
]
Resolver function for the blockedUsers
field of an Organization
.
This function retrieves the users who are blocked by a specific organization.
Param
The parent object representing the organization. It contains information about the organization, including the IDs of the users who are blocked.
Returns
A promise that resolves to an array of user documents found in the database. These documents represent the users who are blocked by the organization.
See
- User - The User model used to interact with the users collection in the database.
- OrganizationResolvers - The type definition for the resolvers of the Organization fields.