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