diff --git a/app/code/Magento/CmsGraphQl/Model/Resolver/DataProvider/Page.php b/app/code/Magento/CmsGraphQl/Model/Resolver/DataProvider/Page.php index a67cc877e7db8..cfeecd402828e 100644 --- a/app/code/Magento/CmsGraphQl/Model/Resolver/DataProvider/Page.php +++ b/app/code/Magento/CmsGraphQl/Model/Resolver/DataProvider/Page.php @@ -72,11 +72,7 @@ public function __construct( public function getData(int $pageId): array { $page = $this->pageRepository->getById($pageId); - - if (false === $page->isActive()) { - throw new NoSuchEntityException(); - } - + return $this->convertPageData($page); }