Fixed syntax error
This commit is contained in:
parent
bd33b09f7b
commit
9621810332
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class GetPost extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
$this->privilegeService->assertPrivilege(Privilege::VIEW_POSTS);
|
$this->privilegeService->assertPrivilege(Privilege::VIEW_POSTS);
|
||||||
|
|
||||||
$post = $this->postService->getByNameOrId($this->getArgument(postNameOrId));
|
$post = $this->postService->getByNameOrId($this->getArgument('postNameOrId'));
|
||||||
return $this->postViewProxy->fromEntity($post, $this->getFullFetchConfig());
|
return $this->postViewProxy->fromEntity($post, $this->getFullFetchConfig());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue