mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-26 06:57:58 +01:00
Fix playlist download url
This commit is contained in:
parent
293fd535c4
commit
eb02ff48c2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue