Skip to main content

talawa-api / Exports / resolvers/Mutation/createUserFamily

Module: resolvers/Mutation/createUserFamily

Table of contents

Variables

Variables

createUserFamily

Const createUserFamily: MutationResolvers["createUserFamily"]

This Function enables to create a user Family

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 user is super admin
  3. If there are atleast two members in the family.

Defined in

src/resolvers/Mutation/createUserFamily.ts:23