Function getSingleUserHandler
- getSingleUserHandler(req: Request<{
id: string;
}, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>): Promise<undefined | Response<any, Record<string, any>>>
-
Parameters
-
req: Request<{
id: string;
}, any, any, ParsedQs, Record<string, any>>
-
res: Response<any, Record<string, any>>
Returns Promise<undefined | Response<any, Record<string, any>>>
This controller will get single user from database with given id
Author
aayushchugh