feat(server): remove the phone number from users service

This commit is contained in:
a.bouhuolia
2023-04-06 03:08:06 +02:00
parent 85b24c7a4f
commit e4a647376c
6 changed files with 31 additions and 75 deletions

View File

@@ -47,7 +47,6 @@ export default class UsersController extends BaseController {
check('first_name').exists(),
check('last_name').exists(),
check('email').exists().isEmail(),
check('phone_number').optional().isMobilePhone(),
check('role_id').exists().isNumeric().toInt(),
],
this.validationResult,