Skip to main content

talawa-api / Exports / resolvers/Mutation/removeEventProject

Module: resolvers/Mutation/removeEventProject

Table of contents

Functions

Functions

removeEventProject

removeEventProject(_parent, args, context): Promise<Interface_EventProject>

This function enables to remove an event project.

Remarks

The following checks are done:

  1. If the user exists
  2. If the event project exists
  3. If the user is the creator of the event project.

Parameters

NameTypeDescription
_parentanyparent of current request
argsanypayload provided with the request
contextanycontext of entire application

Returns

Promise<Interface_EventProject>

Deleted event project.

Defined in

src/resolvers/Mutation/removeEventProject.ts:19