talawa-api / Exports / resolvers/Mutation/createActionItem
Module: resolvers/Mutation/createActionItem
Table of contents
Variables
Variables
createActionItem
• Const
createActionItem: MutationResolvers
["createActionItem"
]
This function enables to create an action item.
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 2.If the user has appUserProfile
- If the asignee exists
- If the actionItemCategory exists
- If the actionItemCategory is disabled
- If the asignee is a member of the organization
- If the user is a member of the organization
- If the event exists (if action item related to an event)
- If the user is authorized.