Skip to content

Commit

Permalink
Fix bug caused by incorrect function call.
Browse files Browse the repository at this point in the history
  • Loading branch information
Potherca committed Jan 11, 2022
1 parent 3c08552 commit 00394eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ private function addLinkRelationHeaders(Response $response, string $path, $mime=
// @FIXME: If a `.meta` file is requested, it must have header `Link: </path/to/resource>; rel="describes"`

if ($this->hasAcl($path, $mime)) {
$value = sprintf('<%s>; rel="acl"', $this->getDescribedByPath($path, $mime));
$value = sprintf('<%s>; rel="acl"', $this->getAclPath($path, $mime));
$response = $response->withAddedHeader('Link', $value);
}

Expand Down

0 comments on commit 00394eb

Please sign in to comment.