Skip to main content

admins

talawa-apiDocs


talawa-api / resolvers/Organization/admins / admins

Variable: admins

> const admins: OrganizationResolvers["admins"]

Resolver function for the admins field of an Organization.

This function retrieves the users who are admins of a specific organization.

Param

The parent object representing the organization. It contains information about the organization, including the IDs of the users who are admins.

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.

Defined in

src/resolvers/Organization/admins.ts:16