talawa-api / Exports / resolvers/Mutation/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:
- If the user exists
- If the user is the SUPERADMIN of organization
src/resolvers/Mutation/blockPluginCreationBySuperadmin.ts:16