Skip to main content

talawa-api / Exports / resolvers/Mutation/blockPluginCreationBySuperadmin

Module: resolvers/Mutation/blockPluginCreationBySuperadmin

Table of contents

Variables

Variables

blockPluginCreationBySuperadmin

Const blockPluginCreationBySuperadmin: MutationResolvers["blockPluginCreationBySuperadmin"]

This function enables an admin to create block plugin.

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 the SUPERADMIN of organization

Defined in

src/resolvers/Mutation/blockPluginCreationBySuperadmin.ts:16