Fix downloading songs from favourites playlist (#979)

This commit is contained in:
red-coracle 2019-05-24 04:20:47 -04:00 committed by Phan An
parent 2bd3480df0
commit d9358cc181
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ class InteractionRepository extends AbstractRepository
{
return $this->model->where([
'user_id' => $user->id,
'like' => true,
'liked' => true,
])
->with('song')
->get()

View file

@ -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