Compare commits
2 Commits
e3713773b7
...
main
Author | SHA1 | Date | |
---|---|---|---|
11f8e1abd3 | |||
14a6975c6b |
@ -406,7 +406,7 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getLatestPostId(Browser $browser, InstagramRepost $reel): void
|
private function getLatestPostId(Browser $browser, InstagramRepost $reel): ?int
|
||||||
{
|
{
|
||||||
// Go to the profile page of the managed account
|
// Go to the profile page of the managed account
|
||||||
$newReel = $this->getLatestReelsFromAccount(
|
$newReel = $this->getLatestReelsFromAccount(
|
||||||
@ -418,7 +418,7 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
|
|||||||
|
|
||||||
if ($newReel === null) {
|
if ($newReel === null) {
|
||||||
Log::error("No reels found for account: " . $this->jobInfos->get('instagram_repost_account_username'));
|
Log::error("No reels found for account: " . $this->jobInfos->get('instagram_repost_account_username'));
|
||||||
return;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the reel ID
|
// Return the reel ID
|
||||||
|
Reference in New Issue
Block a user