mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-04 08:39:49 +01:00
Fix subscriptions on watch page
This commit is contained in:
parent
c3ac257dbf
commit
815aeeb29c
@ -222,7 +222,7 @@ get "/watch" do |env|
|
|||||||
subscriptions = PG_DB.query_one?("SELECT subscriptions FROM users WHERE id = $1", sid, as: Array(String))
|
subscriptions = PG_DB.query_one?("SELECT subscriptions FROM users WHERE id = $1", sid, as: Array(String))
|
||||||
end
|
end
|
||||||
|
|
||||||
subscriptions = [] of String
|
subscriptions ||= [] of String
|
||||||
|
|
||||||
begin
|
begin
|
||||||
video = get_video(id, client, PG_DB)
|
video = get_video(id, client, PG_DB)
|
||||||
|
Loading…
Reference in New Issue
Block a user