Skip to main content

agendaCategory

talawa-apiDocs


talawa-api / resolvers/Query/agendaCategory / agendaCategory

Variable: agendaCategory

> const agendaCategory: QueryResolvers["agendaCategory"]

This is a resolver function for the GraphQL query 'agendaCategory'.

This resolver fetches an agenda category by its ID.

Param

The parent object, not used in this resolver.

Param

The input arguments for the query.

Throws

NotFoundError If the agenda category is not found.

Throws

InternalServerError For other potential issues during agenda category fetching.

Defined in

src/resolvers/Query/agendaCategory.ts:19