2 Commits

Author SHA1 Message Date
11f8e1abd3 Refix types
All checks were successful
Push image to registry / build-image (push) Successful in 5m50s
2025-08-06 17:42:23 +02:00
14a6975c6b Fix type
Some checks failed
Push image to registry / build-image (push) Failing after 39s
2025-08-06 17:38:42 +02:00

View File

@ -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
$newReel = $this->getLatestReelsFromAccount(
@ -418,7 +418,7 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
if ($newReel === null) {
Log::error("No reels found for account: " . $this->jobInfos->get('instagram_repost_account_username'));
return;
return null;
}
// Return the reel ID