From b8875aa5fd0c7585f9a0d72ec9eafcf0179f6011 Mon Sep 17 00:00:00 2001 From: LukiBeg Date: Mon, 29 Dec 2025 14:08:35 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20Atualiza=20usu=C3=A1rio=20salvando=20as?= =?UTF-8?q?=20permiss=C3=B5es=20como=20array=20e=20n=C3=A3o=20string.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/UserService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/UserService.php b/app/Services/UserService.php index 6f590cd..52cabcb 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -26,6 +26,7 @@ public function showUsers() public function updateUser(User $user, $data) { + $data['permissions'] = [$data['permissions']]; return $user->update($data); }