Skip to main content

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:

  1. If the current user exists 2 .If the startDate is valid
  2. If the endDate is valid
  3. if the parent fund exists
  4. If the user is authorized.

Defined in

src/resolvers/Mutation/createFundraisingCampaign.ts:26