Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 907 Bytes

resolvers_Mutation_removeEvent.md

File metadata and controls

42 lines (23 loc) · 907 Bytes

talawa-api / Exports / resolvers/Mutation/removeEvent

Module: resolvers/Mutation/removeEvent

Table of contents

Variables

Variables

removeEvent

Const removeEvent: MutationResolvers["removeEvent"]

This function enables to remove an event.

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 event exists
  3. If the user is an admin of the organization.
  4. If the user is an admin of the event.

Defined in

src/resolvers/Mutation/removeEvent.ts:24