talawa-api / Exports / resolvers/middleware/currentUserExists
▸ currentUserExists(): (next
: (root
: any
, args
: any
, context
: any
, info
: any
) => any
) => (root
: any
, args
: any
, context
: { userId
: any
}, info
: any
) => Promise
<any
>
fn
▸ (next
): (root
: any
, args
: any
, context
: { userId
: any
}, info
: any
) => Promise
<any
>
Name | Type |
---|---|
next |
(root : any , args : any , context : any , info : any ) => any |
fn
▸ (root
, args
, context
, info
): Promise
<any
>
Name | Type |
---|---|
root |
any |
args |
any |
context |
Object |
context.userId |
any |
info |
any |
Promise
<any
>