mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
parent
f7270c4b84
commit
b222ba3ac0
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ use App\Models\Artist;
|
|||
use App\Models\Playlist;
|
||||
use App\Models\Song;
|
||||
use App\Models\SongZipArchive;
|
||||
use Illuminate\Database\Eloquent\Collection as EloquentCollection;
|
||||
use Illuminate\Support\Collection;
|
||||
use InvalidArgumentException;
|
||||
|
||||
|
@ -35,6 +36,7 @@ class DownloadService
|
|||
return $this->fromSong($mixed);
|
||||
|
||||
case Collection::class:
|
||||
case EloquentCollection::class:
|
||||
return $this->fromMultipleSongs($mixed);
|
||||
|
||||
case Album::class:
|
||||
|
|
Loading…
Reference in a new issue