Skip to main content

talawa-api / Exports / resolvers/Mutation/updateEvent

Module: resolvers/Mutation/updateEvent

Table of contents

Variables

Variables

updateEvent

Const updateEvent: MutationResolvers["updateEvent"]

This function enables to update 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. The the user is an admin of the event.

Defined in

src/resolvers/Mutation/updateEvent.ts:26