From db83ede73ca38cd4c661e96b8f9823db99d9f5c2 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 26 Jul 2020 11:09:45 -0400 Subject: [PATCH] Add missing default for ConfigPreferences --- src/invidious/helpers/helpers.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.cr index 4d697745..56f856c0 100644 --- a/src/invidious/helpers/helpers.cr +++ b/src/invidious/helpers/helpers.cr @@ -77,7 +77,7 @@ struct Config property statistics_enabled : Bool = false property admins : Array(String) = [] of String property external_port : Int32? = nil - property default_user_preferences : ConfigPreferences + property default_user_preferences : ConfigPreferences = ConfigPreferences.from_yaml("") property dmca_content : Array(String) = [] of String # For compliance with DMCA, disables download widget using list of video IDs property check_tables : Bool = false # Check table integrity, automatically try to add any missing columns, create tables, etc. property cache_annotations : Bool = false # Cache annotations requested from IA, will not cache empty annotations or annotations that only contain cards