Skip to main content

talawa-api / Exports / resolvers/Mutation/registerForEvent

Module: resolvers/Mutation/registerForEvent

Table of contents

Variables

Variables

registerForEvent

Const registerForEvent: MutationResolvers["registerForEvent"]

This function enables to register for 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 has already registered for the event

Defined in

src/resolvers/Mutation/registerForEvent.ts:24