fixed errors in event and tenant resources
This commit is contained in:
@@ -38,6 +38,11 @@ class BlogPost extends Model
|
||||
'banner',
|
||||
'published_at',
|
||||
'is_published',
|
||||
'title',
|
||||
'content',
|
||||
'excerpt',
|
||||
'meta_title',
|
||||
'meta_description',
|
||||
'translations',
|
||||
];
|
||||
|
||||
@@ -69,7 +74,7 @@ class BlogPost extends Model
|
||||
$environment->addExtension(new TaskListExtension());
|
||||
|
||||
$converter = new MarkdownConverter($environment);
|
||||
return $converter->convert($markdown);
|
||||
return (string) $converter->convert($markdown);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -92,4 +97,4 @@ class BlogPost extends Model
|
||||
{
|
||||
return $this->belongsTo(BlogAuthor::class, 'blog_author_id');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user