Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 862 Bytes

resolvers_Mutation_updateEvent.md

File metadata and controls

41 lines (22 loc) · 862 Bytes

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