Skip to main content

editVenue

talawa-apiDocs


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:

  1. If the user exists
  2. If the organization exists
  3. If the venue exists
  4. If the user is authorized
  5. If the venue details are valid
  6. If the venue already exists

Returns

Updated venue

Defined in

src/resolvers/Mutation/editVenue.ts:35