updateFundraisingCampaignPledge
talawa-api • Docs
talawa-api / resolvers/Mutation/updateFundCampaignPledge / updateFundraisingCampaignPledge
Variable: updateFundraisingCampaignPledge
> const
updateFundraisingCampaignPledge: MutationResolvers
["updateFundraisingCampaignPledge"
]
This function enables to update a 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 FundraisingCampaignPledge exists.
- If the user has made the pledge.
- If the start date is valid.
- If the end date is valid.
Returns
Updated campaign pledge.