Skip to main content

talawa-api / Exports / resolvers/Mutation/updateFundCampaignPledge

Module: resolvers/Mutation/updateFundCampaignPledge

Table of contents

Variables

Variables

updateFundraisingCampaignPledge

Const updateFundraisingCampaignPledge: MutationResolvers["updateFundraisingCampaignPledge"]

This function enables to update a fundraising campaign pledge.

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 user exists.
  2. If the FundraisingCampaignPledge exists.
  3. If the user has made the pledge.
  4. If the start date is valid.
  5. If the end date is valid.

Defined in

src/resolvers/Mutation/updateFundCampaignPledge.ts:32