Skip to main content

talawa-api / Exports / resolvers/Mutation/removeEventVolunteerGroup

Module: resolvers/Mutation/removeEventVolunteerGroup

Table of contents

Variables

Variables

removeEventVolunteerGroup

Const removeEventVolunteerGroup: MutationResolvers["removeEventVolunteerGroup"]

This function enables to remove an Event Volunteer Group.

Param

parent of current request

Param

payload provided with the request

Param

context of entire application

Remarks

The following checks are done:

  1. If the current user exists
  2. If the Event volunteer group to be removed exists.
  3. If the current user is the admin of the corresponding event

Defined in

src/resolvers/Mutation/removeEventVolunteerGroup.ts:25