Remove useless arguments from playlist-related functions

This commit is contained in:
Samantaz Fox
2022-01-19 18:34:35 +01:00
parent 2ae074a9a4
commit 5e3c9cf290
6 changed files with 30 additions and 38 deletions

View File

@@ -265,7 +265,7 @@ module Invidious::Routes::Feeds
if plid.starts_with? "IV"
if playlist = Invidious::Database::Playlists.select(id: plid)
videos = get_playlist_videos(playlist, offset: 0, locale: locale)
videos = get_playlist_videos(playlist, offset: 0)
return XML.build(indent: " ", encoding: "UTF-8") do |xml|
xml.element("feed", "xmlns:yt": "http://www.youtube.com/xml/schemas/2015",