fix: replace essence with embera to create preview cards

This commit is contained in:
Yassine Doghri 2023-05-09 07:47:54 +00:00
commit c682f03a67
13 changed files with 216 additions and 327 deletions

View file

@ -73,7 +73,7 @@ class PostController extends FediversePostController
$this->registerPodcastWebpageHit($this->podcast->id);
}
if ($this->post === null) {
if (! $this->post instanceof CastopodPost) {
throw PageNotFoundException::forPageNotFound();
}