Skip to main content

talawa-api / Exports / resolvers/Mutation/removeTask

Module: resolvers/Mutation/removeTask

Table of contents

Variables

Variables

removeTask

Const removeTask: MutationResolvers["removeTask"]

This function enables to remove a task.

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 task exists
  3. If the user is the creator of the task.

Defined in

src/resolvers/Mutation/removeTask.ts:20