Skip to main content

talawa-api / Exports / resolvers/Mutation/updateFund

Module: resolvers/Mutation/updateFund

Table of contents

Variables

Variables

updateFund

Const updateFund: MutationResolvers["updateFund"]

This function enables to update an organization specific fund.

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 Fund of the organization exists.
  3. If the organization exists. 4.If the user is authorized to update the fund.
  4. If the fund already exists with the same name.

Defined in

src/resolvers/Mutation/updateFund.ts:33