Skip to main content

updateVolunteerMembership

talawa-apiDocs


talawa-api / resolvers/Mutation/updateVolunteerMembership / updateVolunteerMembership

Variable: updateVolunteerMembership

> const updateVolunteerMembership: MutationResolvers["updateVolunteerMembership"]

This function enables to update an Volunteer Membership

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. Update the Volunteer Membership
  3. update related fields of Volunteer Group & Volunteer

Defined in

src/resolvers/Mutation/updateVolunteerMembership.ts:72