diff --git a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php index 4db2f5b..1ee413e 100644 --- a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php +++ b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php @@ -342,7 +342,9 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces sleep(2); // Wait for the caption to be added - $this->clickNext($browser); // Share the post + if (config("app.environment") !== "local") { // Don't share the post in local environment + $this->clickNext($browser); // Share the post + } sleep(5); // Wait for the post to be completed