Skip to main content

talawa-api / Exports / resolvers/Query/checkAuth

Module: resolvers/Query/checkAuth

Table of contents

Variables

Variables

checkAuth

Const checkAuth: QueryResolvers["checkAuth"]

This query determines whether or not the user exists in the database (MongoDB).

Param

The return value of the resolver for this field's parent

Param

An object that contains all GraphQL arguments provided for this field.

Param

An object that contains userId.

Remarks

You can learn about GraphQL Resolvers here.

Defined in

src/resolvers/Query/checkAuth.ts:13