mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
Fix downloading songs from favourites playlist (#979)
This commit is contained in:
parent
2bd3480df0
commit
d9358cc181
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ class InteractionRepository extends AbstractRepository
|
|||
{
|
||||
return $this->model->where([
|
||||
'user_id' => $user->id,
|
||||
'like' => true,
|
||||
'liked' => true,
|
||||
])
|
||||
->with('song')
|
||||
->get()
|
||||
|
|
|
@ -7,7 +7,7 @@ use App\Models\Artist;
|
|||
use App\Models\Playlist;
|
||||
use App\Models\Song;
|
||||
use App\Models\SongZipArchive;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Support\Collection;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class DownloadService
|
||||
|
|
Loading…
Reference in a new issue