Fix wrong type and InstagramRepost is a boolean
All checks were successful
Push image to registry / build-image (push) Successful in 2m50s

This commit is contained in:
2025-08-15 12:31:09 +02:00
parent 5fa01615ff
commit 4bf2aac892

View File

@@ -271,7 +271,7 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
"repost_tries" => 0
]);
if ($save) {
$reelModel = $reelModel->save();
$reelModel->save();
}
}
@@ -406,7 +406,7 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
}
}
private function getLatestPostId(Browser $browser, InstagramRepost $reel): ?int
private function getLatestPostId(Browser $browser, InstagramRepost $reel): ?string
{
// Go to the profile page of the managed account
$newReel = $this->getLatestReelsFromAccount(