Skip to main content

talawa-api / Exports / resolvers/Mutation/removeUserFamily

Module: resolvers/Mutation/removeUserFamily

Table of contents

Variables

Variables

removeUserFamily

Const removeUserFamily: MutationResolvers["removeUserFamily"]

This function enables to remove 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 family exists.
  2. If the user is super admin.

Defined in

src/resolvers/Mutation/removeUserFamily.ts:20