Function getCurrentUserHandler
- getCurrentUserHandler(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>): Response<any, Record<string, any>>
-
Parameters
-
req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
-
res: Response<any, Record<string, any>>
Returns Response<any, Record<string, any>>
This controller will get current user from access token
Author
aayushchugh