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)