talawa-api / Exports / resolvers/Mutation/removeUserFromUserFamily
Module: resolvers/Mutation/removeUserFromUserFamily
Table of contents
Variables
Variables
removeUserFromUserFamily
• Const
removeUserFromUserFamily: MutationResolvers
["removeUserFromUserFamily"
]
This function enables to remove a user from group chat.
Param
parent of current request
Param
payload provided with the request
Param
context of entire publication
Remarks
The following checks are done:
- If the family exists.
- If the user to be removed is member of the organisation.
- If the user is admin of the family