From e58c3088f1f708aa0c391f5e3495448c62bc756b Mon Sep 17 00:00:00 2001 From: F4ilji Date: Sat, 21 Mar 2026 01:00:31 +0500 Subject: [PATCH] changes --- app/Jobs/CreateVkPost.php | 2 +- app/Services/VK/VkService.php | 2 +- app/Services/VK/Wall/VkWallService.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Jobs/CreateVkPost.php b/app/Jobs/CreateVkPost.php index 74e49e1..b8f04a9 100755 --- a/app/Jobs/CreateVkPost.php +++ b/app/Jobs/CreateVkPost.php @@ -26,7 +26,7 @@ class CreateVkPost implements ShouldQueue readonly private array $images = [], readonly private int $post_id, readonly private int|null $publish_date = null, - readonly private string $primary_attachments_mode = 'carousel', + readonly private string $primary_attachments_mode = 'grid', ) {} diff --git a/app/Services/VK/VkService.php b/app/Services/VK/VkService.php index 75d6b9d..e8aa38b 100755 --- a/app/Services/VK/VkService.php +++ b/app/Services/VK/VkService.php @@ -53,7 +53,7 @@ class VkService // return $this->wallService->createPost($message, $from_group, $attachmentString, $publish_date); // } - public function createPost(string $title, string $message, array $images = [], array $videos = [], int|null $publish_date = null, string $primary_attachments_mode = 'carousel') + public function createPost(string $title, string $message, array $images = [], array $videos = [], int|null $publish_date = null, string $primary_attachments_mode = 'grid') { $from_group = 1; $attachments = []; diff --git a/app/Services/VK/Wall/VkWallService.php b/app/Services/VK/Wall/VkWallService.php index 42dafcf..f98e888 100755 --- a/app/Services/VK/Wall/VkWallService.php +++ b/app/Services/VK/Wall/VkWallService.php @@ -48,7 +48,7 @@ class VkWallService } } - public function createPost(string $message, int $from_group, string $attachments = '', int|null $publish_date = null, string $primary_attachments_mode = 'carousel') + public function createPost(string $message, int $from_group, string $attachments = '', int|null $publish_date = null, string $primary_attachments_mode = 'grid') { $token = $this->vkAuthService->getToken()->access_token; $params = [