fix(user): convert to int sebelum attach role_ids
This commit is contained in:
parent
694d4ebbce
commit
063342841b
@ -139,7 +139,7 @@ public function store()
|
||||
|
||||
$user->outlets()->attach($this->outlet_ids);
|
||||
|
||||
$user->assignRole($this->role_ids);
|
||||
$user->assignRole(array_map('intval', $this->role_ids));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user