Skip to main content

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:

  1. If the current user exists
  2. If the pledge exists
  3. If the campaign exists

Defined in

src/resolvers/Mutation/addPledgeToFundraisingCampaign.ts:28