talawa-api / Exports / resolvers/Mutation/createEventVolunteer
Module: resolvers/Mutation/createEventVolunteer
Table of contents
Variables
Variables
createEventVolunteer
• Const
createEventVolunteer: MutationResolvers
["createEventVolunteer"
]
This function enables to create 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 volunteer user exists
- If the event exists
- If the group exists
- If the current user is leader of the group