Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.45 KB

resolvers_middleware_currentUserExists.md

File metadata and controls

51 lines (30 loc) · 1.45 KB

talawa-api / Exports / resolvers/middleware/currentUserExists

Module: resolvers/middleware/currentUserExists

Table of contents

Functions

Functions

currentUserExists

currentUserExists(): (next: (root: any, args: any, context: any, info: any) => any) => (root: any, args: any, context: { userId: any }, info: any) => Promise<any>

Returns

fn

▸ (next): (root: any, args: any, context: { userId: any }, info: any) => Promise<any>

Parameters
Name Type
next (root: any, args: any, context: any, info: any) => any
Returns

fn

▸ (root, args, context, info): Promise<any>

Parameters
Name Type
root any
args any
context Object
context.userId any
info any
Returns

Promise<any>

Defined in

src/resolvers/middleware/currentUserExists.ts:8