diff options
Diffstat (limited to 'api/user/preferences.py')
-rw-r--r-- | api/user/preferences.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/user/preferences.py b/api/user/preferences.py index 9791bfe..d4e27c9 100644 --- a/api/user/preferences.py +++ b/api/user/preferences.py @@ -4,6 +4,7 @@ from ruleset import resolve_ruleset from hierarchy import auth_required import json +# fill missing dict keys in preferences object def format_preferences(prefs): return { "darkMode": prefs.get("darkMode") or False, |