Should fix getting no reel to repost
Some checks failed
Push image to registry / build-image (push) Failing after 3m21s
Some checks failed
Push image to registry / build-image (push) Failing after 3m21s
This commit is contained in:
@ -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));
|
||||||
|
Reference in New Issue
Block a user