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