From c6539c803a395da6d30112bcf0e87664b7752235 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 7 May 2018 22:04:58 -0500 Subject: [PATCH] Fix typo --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index afa69dd54..11ee9dfae 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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 = videos.select { |v| notifications.includes? v.id } - vidoes = videos - notifications + videos = videos - notifications if !limit videos = videos[0..max_results]