Should fix getting no reel to repost
Some checks failed
Push image to registry / build-image (push) Failing after 3m21s

This commit is contained in:
2025-06-05 19:53:06 +02:00
parent ed089258c8
commit 5a6b0639e7

View File

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