Skip to main content

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:

  1. Whether the user exists
  2. Whether the EventVolunteer exists
  3. Whether the current user is the user of EventVolunteer
  4. Whether the EventVolunteer is invited

Defined in

src/resolvers/Mutation/updateEventVolunteer.ts:22