Update ImportPipeline

This commit is contained in:
Daniel Supernault 2019-03-17 17:01:06 -06:00
parent 06fe1f0669
commit a27418d4ef
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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();