mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Fix incorrect default in user preferences
This commit is contained in:
parent
def58ff11f
commit
cef061d6fb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue