From 11e5bb0384ee4833a371ee83e79e84818e71a51e Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Tue, 19 Jul 2016 16:23:06 +0100 Subject: [PATCH] Fixed album favouriting --- app/Commands/ToggleFavouriteCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Commands/ToggleFavouriteCommand.php b/app/Commands/ToggleFavouriteCommand.php index c4926f91..1a29e727 100644 --- a/app/Commands/ToggleFavouriteCommand.php +++ b/app/Commands/ToggleFavouriteCommand.php @@ -23,11 +23,12 @@ namespace Poniverse\Ponyfm\Commands; use Notification; use Poniverse\Ponyfm\Contracts\Favouritable; use Poniverse\Ponyfm\Models\Favourite; +use Poniverse\Ponyfm\Models\Track; +use Poniverse\Ponyfm\Models\Album; use Poniverse\Ponyfm\Models\Playlist; use Poniverse\Ponyfm\Models\ResourceUser; use Auth; use DB; -use Poniverse\Ponyfm\Models\Track; class ToggleFavouriteCommand extends CommandBase {