mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update ImportPipeline
This commit is contained in:
parent
06fe1f0669
commit
a27418d4ef
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ class ImportInstagram implements ShouldQueue
|
||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
|
if(config('pixelfed.import.instagram.enabled') != true) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$job = $this->job;
|
$job = $this->job;
|
||||||
$profile = $this->job->profile;
|
$profile = $this->job->profile;
|
||||||
$json = $job->mediaJson();
|
$json = $job->mediaJson();
|
||||||
|
|
Loading…
Reference in a new issue