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