Remove unused db call

This commit is contained in:
Brahim Hadriche 2023-02-05 15:43:58 -05:00
parent 2606decd21
commit 47a5b98e25

View File

@ -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