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