Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.07 KB

resolvers_Mutation_createActionItem.md

File metadata and controls

45 lines (26 loc) · 1.07 KB

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