diff --git a/src/Handler/Admin/Profile/EditHandler.php b/src/Handler/Admin/Profile/EditHandler.php index bf94c71..27a933b 100644 --- a/src/Handler/Admin/Profile/EditHandler.php +++ b/src/Handler/Admin/Profile/EditHandler.php @@ -44,7 +44,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface // Update account role if (isset($requestBody['roles']) && !empty($requestBody['roles'])) { - $this->accountService->updateAccountRoles($requestBody['roles'], $updatedAccount, 'api', $operator); + $this->accountService->updateAccountRoles($requestBody['roles'], $updatedAccount, 'all', $operator); } return new JsonResponse(