diff --git a/src/modules/auth/auth.service.ts b/src/modules/auth/auth.service.ts index a2b4b05..b7de065 100644 --- a/src/modules/auth/auth.service.ts +++ b/src/modules/auth/auth.service.ts @@ -26,7 +26,7 @@ export class AuthService { public async login(req, response) { const data = { - username: req.body.phone_number, + username: req.body.username, password: req.body.password, type: 'login', };