Skip to main content

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:

  1. If the current user exists 2 .If the startDate is valid
  2. If the endDate is valid
  3. if the fund campaign exists

Defined in

src/resolvers/Mutation/createFundraisingCampaignPledge.ts:28