talawa-api / Exports / resolvers/Mutation/updateEventVolunteer
Module: resolvers/Mutation/updateEventVolunteer
Table of contents
Variables
Variables
updateEventVolunteer
• Const
updateEventVolunteer: MutationResolvers
["updateEventVolunteer"
]
This function enables to update 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:
- Whether the user exists
- Whether the EventVolunteer exists
- Whether the current user is the user of EventVolunteer
- Whether the EventVolunteer is invited