This commit is contained in:
F4ilji
2026-03-21 01:00:31 +05:00
parent d0a106159d
commit e58c3088f1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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',
)
{}
+1 -1
View File
@@ -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 = [];
+1 -1
View File
@@ -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 = [