mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Better migration of update checking settings, offer reload, strip backend_setting from db
This commit is contained in:
@@ -847,7 +847,7 @@ class UiSettingsView(GenericAPIView):
|
||||
ui_settings = {}
|
||||
if hasattr(user, "ui_settings"):
|
||||
ui_settings = user.ui_settings.settings
|
||||
if ui_settings["update_checking"]:
|
||||
if "update_checking" in ui_settings:
|
||||
ui_settings["update_checking"][
|
||||
"backend_setting"
|
||||
] = settings.ENABLE_UPDATE_CHECK
|
||||
|
Reference in New Issue
Block a user