feat(logging): migrate VK API jobs and services to vk channel

This commit is contained in:
F4ilji
2026-07-05 23:26:41 +05:00
parent 720aa4d0ae
commit 41b00fcdae
9 changed files with 53 additions and 54 deletions
@@ -38,7 +38,7 @@ class TgPostPublisher
public function update(array $settings, Post $post): void
{
Log::info(json_encode($settings));
Log::channel('vk')->debug('Telegram publisher settings', ['settings' => $settings]);
if ($post->status === PostStatus::PUBLISHED) {
if ($settings['telegram']) {
$text = $this->generateContentForTg($post->title, $post->content, $post->slug, $post->images);