mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix subscriptions on watch page
This commit is contained in:
parent
c3ac257dbf
commit
815aeeb29c
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ get "/watch" do |env|
|
|||
subscriptions = PG_DB.query_one?("SELECT subscriptions FROM users WHERE id = $1", sid, as: Array(String))
|
||||
end
|
||||
|
||||
subscriptions = [] of String
|
||||
subscriptions ||= [] of String
|
||||
|
||||
begin
|
||||
video = get_video(id, client, PG_DB)
|
||||
|
|
Loading…
Reference in a new issue