This commit is contained in:
f4ilji
2024-11-03 17:42:10 +05:00
parent 63e760872b
commit 03ff222263
71 changed files with 2916 additions and 2117 deletions
@@ -69,7 +69,7 @@ class CreatePost extends CreateRecord
return [
'title' => $title,
'description' => Str::limit($description, 160),
'description' => Str::limit(htmlspecialchars($description, ENT_QUOTES, 'UTF-8'), 160),
'image' => $image,
];
}
@@ -87,7 +87,7 @@ class EditPost extends EditRecord
return [
'title' => $title,
'description' => Str::limit($description, 160),
'description' => Str::limit(htmlspecialchars($description, ENT_QUOTES, 'UTF-8'), 160),
'image' => $image,
];
}
@@ -200,7 +200,6 @@ class EditPost extends EditRecord
return $data;
}
private function postToSocialMedia($settings, $content, $title, $publish_date) : void
{
if ($this->record->status === PostStatus::PUBLISHED) {