From cef061d6fb62cee6ebd87c7d98c778fccb9271bb Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 31 Jan 2019 14:40:26 -0600 Subject: [PATCH] Fix incorrect default in user preferences --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index a720670a..69bbed77 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1146,7 +1146,7 @@ post "/preferences" do |env| captions = [captions_0, captions_1, captions_2] related_videos = env.params.body["related_videos"]?.try &.as(String) - related_videos ||= "off" + related_videos ||= "on" related_videos = related_videos == "on" redirect_feed = env.params.body["redirect_feed"]?.try &.as(String)