Fixed album favouriting

This commit is contained in:
Josef Citrine 2016-07-19 16:23:06 +01:00
parent 63562f9338
commit 11e5bb0384

View file

@ -23,11 +23,12 @@ namespace Poniverse\Ponyfm\Commands;
use Notification; use Notification;
use Poniverse\Ponyfm\Contracts\Favouritable; use Poniverse\Ponyfm\Contracts\Favouritable;
use Poniverse\Ponyfm\Models\Favourite; use Poniverse\Ponyfm\Models\Favourite;
use Poniverse\Ponyfm\Models\Track;
use Poniverse\Ponyfm\Models\Album;
use Poniverse\Ponyfm\Models\Playlist; use Poniverse\Ponyfm\Models\Playlist;
use Poniverse\Ponyfm\Models\ResourceUser; use Poniverse\Ponyfm\Models\ResourceUser;
use Auth; use Auth;
use DB; use DB;
use Poniverse\Ponyfm\Models\Track;
class ToggleFavouriteCommand extends CommandBase class ToggleFavouriteCommand extends CommandBase
{ {