diff --git a/app/Jobs/ImportPipeline/ImportInstagram.php b/app/Jobs/ImportPipeline/ImportInstagram.php index c6cbd9d9..f36988c1 100644 --- a/app/Jobs/ImportPipeline/ImportInstagram.php +++ b/app/Jobs/ImportPipeline/ImportInstagram.php @@ -50,6 +50,10 @@ class ImportInstagram implements ShouldQueue */ public function handle() { + if(config('pixelfed.import.instagram.enabled') != true) { + return; + } + $job = $this->job; $profile = $this->job->profile; $json = $job->mediaJson();