mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Fix typo
This commit is contained in:
parent
fdcfe0bb14
commit
c6539c803a
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@ get "/feed/subscriptions" do |env|
|
||||||
notifications = PG_DB.query_one("SELECT notifications FROM users WHERE email = $1", user.email, as: Array(String))
|
notifications = PG_DB.query_one("SELECT notifications FROM users WHERE email = $1", user.email, as: Array(String))
|
||||||
|
|
||||||
notifications = videos.select { |v| notifications.includes? v.id }
|
notifications = videos.select { |v| notifications.includes? v.id }
|
||||||
vidoes = videos - notifications
|
videos = videos - notifications
|
||||||
|
|
||||||
if !limit
|
if !limit
|
||||||
videos = videos[0..max_results]
|
videos = videos[0..max_results]
|
||||||
|
|
Loading…
Reference in a new issue