From eb02ff48c29821332226278e48f5a526d6861c0f Mon Sep 17 00:00:00 2001 From: Adam Lavin Date: Mon, 29 Mar 2021 09:50:36 +0100 Subject: [PATCH] Fix playlist download url --- app/Models/Playlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Playlist.php b/app/Models/Playlist.php index 70d7e574..fb2918ca 100644 --- a/app/Models/Playlist.php +++ b/app/Models/Playlist.php @@ -314,7 +314,7 @@ class Playlist extends Model implements Searchable, Commentable, Favouritable public function getDownloadUrl($format) { - return action([PlaylistsController::class, 'getDownload'], ['id' => $this->id, 'format' => Track::$Formats[$format]['extension']]); + return action([PlaylistsController::class, 'getDownload'], ['id' => $this->id, 'extension' => Track::$Formats[$format]['extension']]); } public function getCoverUrl($type = Image::NORMAL)