Browse Source

Update server response

Steven Silvester 7 years ago
parent
commit
1011ae6b9f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      jupyterlab/settings_handler.py

+ 2 - 1
jupyterlab/settings_handler.py

@@ -38,7 +38,8 @@ class SettingsHandler(APIHandler):
             with open(path) as fid:
                 settings = json.load(fid)
 
-        self.finish(json.dumps(dict(schema=schema, settings=settings)))
+        resp = dict(id=section_name, data=dict(user=settings), schema=schema)
+        self.finish(json.dumps(resp))
 
     @json_errors
     @web.authenticated