Skip to main content

talawa-api / Exports / resolvers/Mutation/deleteAgendaCategory

Module: resolvers/Mutation/deleteAgendaCategory

Table of contents

Variables

Variables

deleteAgendaCategory

Const deleteAgendaCategory: MutationResolvers["deleteAgendaCategory"]

This is a resolver function for the GraphQL mutation 'deleteAgendaCategory'.

This resolver deletes an agenda category if the user has the necessary permissions.

Param

The parent object, not used in this resolver.

Param

The input arguments for the mutation.

Throws

NotFoundError If the user or agenda category is not found.

Throws

UnauthorizedError If the user does not have the required permissions.

Throws

InternalServerError For other potential issues during agenda category deletion.

Defined in

src/resolvers/Mutation/deleteAgendaCategory.ts:29