@ -31,7 +31,7 @@ class RegisterApiRequest extends FormRequest
'phone' => 'required|unique:users|min:10|max:11|regex:/^([0-9\s\-\+\(\)]*)$/',
'password' => 'required',
'agents_code' => 'required',
'role' => 'required|in:agents',
'role' => 'in:agents',
'gender' => 'required|in:male,female'
];
}