diff --git a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php index aa9ba01..ecf9be6 100644 --- a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php +++ b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php @@ -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(