talawa-api / Exports / resolvers/Mutation/updateFundCampaignPledge
Module: resolvers/Mutation/updateFundCampaignPledge
Table of contents
Variables
Variables
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.