Function verifyUserHandler
- verifyUserHandler(req: Request<{
verificationCode: string;
}, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>): Promise<Response<any, Record<string, any>>>
-
Parameters
-
req: Request<{
verificationCode: string;
}, any, any, ParsedQs, Record<string, any>>
-
res: Response<any, Record<string, any>>
Returns Promise<Response<any, Record<string, any>>>
This controller will verify the user this is needed so that we can verify that email given by user is correct
Author
aayushchugh