talawa-api / Exports / resolvers/Mutation/cancelMembershipRequest
Module: resolvers/Mutation/cancelMembershipRequest
Table of contents
Variables
Variables
cancelMembershipRequest
• Const
cancelMembershipRequest: MutationResolvers
["cancelMembershipRequest"
]
This function enables to cancel membership request.
Param
parent of current request
Param
payload provided with the request
Param
context of entire application
Remarks
The following checks are done:
- If the membership request exists
- If the organization exists
- If the user exists
- If the user is the creator of the request