Remove unused db call

pull/3617/head
Brahim Hadriche 2 years ago
parent 2606decd21
commit 47a5b98e25

@ -104,7 +104,6 @@ module Invidious::Routes::Subscriptions
if format == "json" if format == "json"
env.response.content_type = "application/json" env.response.content_type = "application/json"
env.response.headers["content-disposition"] = "attachment" env.response.headers["content-disposition"] = "attachment"
playlists = Invidious::Database::Playlists.select_like_iv(user.email)
return Invidious::User::Export.to_invidious(user) return Invidious::User::Export.to_invidious(user)
else else

Loading…
Cancel
Save