Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Update for missing volume model method
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Feb 26, 2019
1 parent 0b0794d commit 49ba0ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Jobs/PostprocessVolumeImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Biigle\Volume;
use Biigle\Jobs\Job;
use Biigle\Annotation;
use Biigle\Jobs\ProcessNewImages;
use Illuminate\Support\Collection;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
Expand Down Expand Up @@ -42,7 +43,7 @@ public function __construct(Collection $volumes)
public function handle()
{
Volume::whereIn('id', $this->ids)->select('id')->each(function ($volume) {
$volume->handleNewImages();
ProcessNewImages::dispatch($volume);
});

if (class_exists(LargoServiceProvider::class)) {
Expand Down

0 comments on commit 49ba0ed

Please sign in to comment.