This commit is contained in:
2022-06-25 09:23:59 +00:00
parent 4b53121953
commit 0875406bf8
6 changed files with 20 additions and 20 deletions

View File

@ -45,7 +45,9 @@ class WikiPageService {
public function find(int $wikiId, int $id, string $userId) {
try {
$wiki = $this->mapper->find($wikiId, $userId);
$wikiPageContent = $this->wikiHelper->setFolderId($wiki->getFileId())->getWikiPageContent($id);
$wikiPageContent = $this->wikiHelper
->setFolderId($wiki->getFileId())
->getWikiPageContent($id);
} catch(Exception $e) {
$this->handleException($e);
}