Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.03 KB

resolvers_Mutation_joinPublicOrganization.md

File metadata and controls

42 lines (23 loc) · 1.03 KB

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