From 80427c88ab56b5049a2ffee057e6dad46fb78b2e Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Mon, 16 Jan 2023 17:15:21 +0100 Subject: [PATCH] getFirstMediaUrl --- app/Http/Livewire/School/LecturerLandingPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/School/LecturerLandingPage.php b/app/Http/Livewire/School/LecturerLandingPage.php index fb7a0349..39e9480f 100644 --- a/app/Http/Livewire/School/LecturerLandingPage.php +++ b/app/Http/Livewire/School/LecturerLandingPage.php @@ -45,7 +45,7 @@ class LecturerLandingPage extends Component 'SEOData' => new SEOData( title: $this->lecturer->name, description: $this->lecturer->intro ?? __('This lecturer has not yet written an introduction.'), - image: asset($this->lecturer->getFirstMediaUrl('avatar')), + image: $this->lecturer->getFirstMediaUrl('avatar'), ) ]); }