talawa-api / Exports / resolvers/Mutation/createFundraisingCampaign
Module: resolvers/Mutation/createFundraisingCampaign
Table of contents
Variables
Variables
createFundraisingCampaign
• Const
createFundraisingCampaign: MutationResolvers
["createFundraisingCampaign"
]
This function enables to create a fundraisingCampaigin .
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 parent fund exists
- If the user is authorized.