editVenue
talawa-api • Docs
talawa-api / resolvers/Mutation/editVenue / editVenue
Variable: editVenue
> const
editVenue: MutationResolvers
["editVenue"
]
This function enables to edit a venue.
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 organization exists
- If the venue exists
- If the user is authorized
- If the venue details are valid
- If the venue already exists
Returns
Updated venue