diff --git a/site/app/Http/Controllers/PodcastController.php b/site/app/Http/Controllers/PodcastController.php index e8703a1..7653a77 100644 --- a/site/app/Http/Controllers/PodcastController.php +++ b/site/app/Http/Controllers/PodcastController.php @@ -21,7 +21,7 @@ public function show(Request $request, $slug) $episodes = Episode::where('published', true) ->whereNotNull('artwork_id') ->with('artwork') - ->with('artworks') + ->with('approvedArtworks') ->where('podcast_id', $podcast->id) ->orderBy('episode_number', 'desc')->paginate(100); $podcasts = Podcast::where('published', true)->with('episodes')->get(); diff --git a/site/resources/views/podcasts/podcast.blade.php b/site/resources/views/podcasts/podcast.blade.php index b07b30d..3dd5b56 100644 --- a/site/resources/views/podcasts/podcast.blade.php +++ b/site/resources/views/podcasts/podcast.blade.php @@ -70,7 +70,7 @@ class="avatar" data-bs-toggle="tooltip"