fix: memperbaiki UserRequest
This commit is contained in:
parent
95637459ac
commit
167f5a111a
@ -28,7 +28,7 @@ public function rules(): array
|
|||||||
{
|
{
|
||||||
$userId = $this->user->id ?? null;
|
$userId = $this->user->id ?? null;
|
||||||
$isEdit = $this->isMethod('put');
|
$isEdit = $this->isMethod('put');
|
||||||
$isUserUrl = $this->is('dashboard/master/users/*');
|
$isUserUrl = $this->is('dashboard/master/user*');
|
||||||
|
|
||||||
$rules = [
|
$rules = [
|
||||||
'full_name' => ['required', 'string', 'max:255'],
|
'full_name' => ['required', 'string', 'max:255'],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user