talawa-api / Exports / resolvers/Mutation/unregisterForEventByUser
Module: resolvers/Mutation/unregisterForEventByUser
Table of contents
Variables
Variables
unregisterForEventByUser
• Const
unregisterForEventByUser: MutationResolvers
["unregisterForEventByUser"
]
This function enables a user to unregister from an event.
Param
parent of current request
Param
payload provided with the request
Param
context of entire application
Remarks
The following checks are done:
- If the user exists.
- If the event exists.
- If the user is a registrant of the event.