talawa-api / Exports / resolvers/Mutation/createFundraisingCampaignPledge
Module: resolvers/Mutation/createFundraisingCampaignPledge
Table of contents
Variables
Variables
createFundraisingCampaignPledge
• Const
createFundraisingCampaignPledge: MutationResolvers
["createFundraisingCampaignPledge"
]
This function enables to create a fundraisingCampaiginPledge .
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 2 .If the startDate is valid
- If the endDate is valid
- if the fund campaign exists
Defined in
src/resolvers/Mutation/createFundraisingCampaignPledge.ts:28