Skip to content

Commit

Permalink
revert accidentially overwritten prior change
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgv committed Sep 11, 2024
1 parent 0c87643 commit 2e344f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ApiPlatform/SublibraryProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function provide(Operation $operation, array $uriVariables = [], array $c
throw new ApiError(Response::HTTP_BAD_REQUEST, "parameter '".self::PERSON_ID_FILTER_NAME."' is mandatory.");
}

$currentPerson = $this->api->getCurrentPerson();
$currentPerson = $this->api->getCurrentPerson(false);

// users are only allowed to fetch this for themselves
if ($personId !== $currentPerson->getIdentifier()) {
Expand Down

0 comments on commit 2e344f2

Please sign in to comment.