2 Commits

Author SHA1 Message Date
5a6b0639e7 Should fix getting no reel to repost
Some checks failed
Push image to registry / build-image (push) Failing after 3m21s
2025-06-05 19:53:06 +02:00
ed089258c8 Does not work with php 8.4 2025-06-05 19:52:19 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces
$toDownloadReels = []; // Array to store to download reels to post later $toDownloadReels = []; // Array to store to download reels to post later
$accounts = explode(",", $this->jobInfos->get("instagram_repost_accounts")); $accounts = explode(",", $this->jobInfos->get("instagram_repost_accounts"));
foreach ($accounts as $account) { foreach ($accounts as &$account) {
$account = trim($account); $account = trim($account);
$toDownloadReels = array_merge($toDownloadReels, $this->getLatestReelsFromAccount($browser, $account)); $toDownloadReels = array_merge($toDownloadReels, $this->getLatestReelsFromAccount($browser, $account));

View File

@ -9,7 +9,7 @@
], ],
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^8.3", "php": "8.3",
"erusev/parsedown": "^1.7", "erusev/parsedown": "^1.7",
"inertiajs/inertia-laravel": "^2.0", "inertiajs/inertia-laravel": "^2.0",
"laravel/dusk": "^8.2", "laravel/dusk": "^8.2",