talawa-api / Exports / resolvers/Mutation/addUserToUserFamily
Module: resolvers/Mutation/addUserToUserFamily
Table of contents
Variables
Variables
addUserToUserFamily
• Const
addUserToUserFamily: MutationResolvers
["addUserToUserFamily"
]
This function adds user to the family.
Param
parent of current request
Param
payload provided with the request
Param
context of the entire application
Remarks
The following checks are done:
- If the family exists
- If the user exists
- If the user is already member of the family
- If the user is admin of the user Family