500 fix on profiles

This commit is contained in:
Thomas G 2022-09-16 08:38:11 +10:00
parent 9fc84827d1
commit 23b4ead394
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<meta content="{{ $user->name }} - {{ env('APP_NAME') }}" property="og:title" />
@endsection
@section('descdiscord')
<meta content="'{{ $user->feedposts->last()->status }}'" property="og:description" />
<meta content="'@if (!empty($user->feedposts->last()->status)) {{ $user->feedposts->last()->status }} @else I'm new to ARCHBLOX!@endif'" property="og:description" />
@endsection
@section('content')