mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Don't try to update channels in subscription manager
This commit is contained in:
parent
64f13df99b
commit
1590393fcc
1 changed files with 2 additions and 4 deletions
|
@ -1375,10 +1375,8 @@ get "/subscription_manager" do |env|
|
|||
|
||||
subscriptions = [] of InvidiousChannel
|
||||
user.subscriptions.each do |ucid|
|
||||
begin
|
||||
subscriptions << get_channel(ucid, PG_DB, false, false)
|
||||
rescue ex
|
||||
next
|
||||
if channel = PG_DB.query_one?("SELECT * FROM channels WHERE id = $1", ucid, as: InvidiousChannel)
|
||||
subscriptions << channel
|
||||
end
|
||||
end
|
||||
subscriptions.sort_by! { |channel| channel.author.downcase }
|
||||
|
|
Loading…
Reference in a new issue