talawa-api / Exports / resolvers/Mutation/addPledgeToFundraisingCampaign
Module: resolvers/Mutation/addPledgeToFundraisingCampaign
Table of contents
Variables
Variables
addPledgeToFundraisingCampaign
• Const
addPledgeToFundraisingCampaign: MutationResolvers
["addPledgeToFundraisingCampaign"
]
This function adds campaign pledge to campaign.
Param
parent of current request
Param
payload provided with the request
Param
context of entire application
Remarks
The following checks are done:
- If the current user exists
- If the pledge exists
- If the campaign exists