Skip to main content

talawa-api / Exports / resolvers/Mutation/removeEventVolunteer

Module: resolvers/Mutation/removeEventVolunteer

Table of contents

Variables

Variables

removeEventVolunteer

Const removeEventVolunteer: MutationResolvers["removeEventVolunteer"]

This function enables to remove an Event Volunteer.

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 to be removed exists.
  3. If the current user is leader of the corresponding event volunteer group.

Defined in

src/resolvers/Mutation/removeEventVolunteer.ts:22