Skip to main content

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:

  1. If the user exists
  2. If the asignee exists
  3. If the actionItemCategory exists
  4. If the asignee is a member of the organization
  5. If the user is a member of the organization
  6. If the event exists (if action item related to an event)
  7. If the user is authorized.

Defined in

src/resolvers/Mutation/createActionItem.ts:32