Skip to main content

removeFundraisingCampaignPledge

talawa-apiDocs


talawa-api / resolvers/Mutation/removeFundraisingCampaingPledge / removeFundraisingCampaignPledge

Variable: removeFundraisingCampaignPledge

> const removeFundraisingCampaignPledge: MutationResolvers["removeFundraisingCampaignPledge"]

This function enables to remove 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 fundraising campaign pledge exists.
  3. If the user has made the pledge.

Returns

Deleted fundraising campaign pledge.

Defined in

src/resolvers/Mutation/removeFundraisingCampaingPledge.ts:28