diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-05-07 22:04:58 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-05-07 22:04:58 -0500 |
| commit | c6539c803a395da6d30112bcf0e87664b7752235 (patch) | |
| tree | 136fc6f3bd894393af762a8418f62a3987b9b72d | |
| parent | fdcfe0bb14dd7f95eb3ebaf9f8da22159940580e (diff) | |
| download | invidious-c6539c803a395da6d30112bcf0e87664b7752235.tar.gz invidious-c6539c803a395da6d30112bcf0e87664b7752235.tar.bz2 invidious-c6539c803a395da6d30112bcf0e87664b7752235.zip | |
Fix typo
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index afa69dd5..11ee9dfa 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] |
