fixed errors in event and tenant resources

This commit is contained in:
Codex Agent
2025-10-15 21:43:24 +02:00
parent 1a4bdb1fe1
commit 58d9ef34ab
8 changed files with 116 additions and 106 deletions

View File

@@ -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');
}
}
}