Skip to main content

talawa-api / Exports / resolvers/Mutation/joinPublicOrganization

Module: resolvers/Mutation/joinPublicOrganization

Table of contents

Variables

Variables

joinPublicOrganization

Const joinPublicOrganization: MutationResolvers["joinPublicOrganization"]

This function enables to join a public organization.

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 organization exists
  2. If the organization required user registration
  3. If the user exists
  4. If the user is already a member of the organization.

Defined in

src/resolvers/Mutation/joinPublicOrganization.ts:25