updateVolunteerMembership
talawa-api • Docs
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:
- Whether the user exists
- Update the Volunteer Membership
- update related fields of Volunteer Group & Volunteer