From 67d89e3911343998366131b62d3c2e7c39c52174 Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Wed, 27 Nov 2024 01:02:40 +0700 Subject: [PATCH] update debug --- src/controllers/auth.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/auth.ts b/src/controllers/auth.ts index 1c9005d..6bb96a3 100644 --- a/src/controllers/auth.ts +++ b/src/controllers/auth.ts @@ -35,6 +35,9 @@ export class AuthController { password: Joi.string().alphanum().min(6).required().label('Password') }); + console.log('req.body', req.body) + console.log('req', req) + const param: User = await schema.validateAsync(req.body); const userRepository = OrmHelper.DB.getRepository(User);