Updated config API to use apply_config
This commit is contained in:
parent
8c3302644a
commit
4246746bdc
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ class ConfigAPI(MicroscopeView):
|
|||
|
||||
logging.debug("Updating settings from POST request.")
|
||||
|
||||
self.microscope.write_config(payload.json)
|
||||
self.microscope.apply_config(payload.json)
|
||||
self.microscope.save_config()
|
||||
|
||||
return jsonify(self.microscope.read_config(json_safe=True))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue