removeFundraisingCampaignPledge
talawa-api / resolvers/Mutation/removeFundraisingCampaingPledge / removeFundraisingCampaignPledge
Variable: removeFundraisingCampaignPledge
> const
removeFundraisingCampaignPledge: MutationResolvers
["removeFundraisingCampaignPledge"
]
This function enables to remove fundraising campaign pledge .
Param
parent of current request
Param
payload provided with the request
Param
context of entire application
Remarks
The following checks are done:
- If the user exists
- If the fundraising campaign pledge exists.
- If the user has made the pledge.
Returns
Deleted fundraising campaign pledge.
Defined in
src/resolvers/Mutation/removeFundraisingCampaingPledge.ts:28