Skip to content

Commit

Permalink
cast uri to string
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Oct 7, 2024
1 parent 05508ea commit 4b5daf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Server/Controller/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public function loadUsers(Request $request): RestValue
try {
if ($request->query->has('roleId')) {
$restUsers = $this->loadUsersAssignedToRole(
$this->uriParser->getAttributeFromUri($request->query->get('roleId'), 'roleId')
$this->uriParser->getAttributeFromUri((string)$request->query->get('roleId'), 'roleId')
);
} elseif ($request->query->has('remoteId')) {
$restUsers = [
Expand Down

0 comments on commit 4b5daf4

Please sign in to comment.