talawa-api / Exports / resolvers/Mutation/removeOrganizationCustomField
Module: resolvers/Mutation/removeOrganizationCustomField
Table of contents
Variables
Variables
removeOrganizationCustomField
• Const
removeOrganizationCustomField: MutationResolvers
["removeOrganizationCustomField"
]
This function enables an admin to remove an organization colleciton field.
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 organization exists.
- If the user is an admin for the organization.
- If the custom field to be removed exists
- If the user has appUserProfile