Zoom POST now returns camera state, rather than whole microscope state

This commit is contained in:
Joel Collins 2019-01-16 12:01:45 +00:00
parent 0c5af96890
commit 1d1b501cbf

View file

@ -50,7 +50,7 @@ class ZoomAPI(MicroscopeView):
self.microscope.camera.set_zoom(zoom_value)
return jsonify(self.microscope.state)
return jsonify(self.microscope.camera.state)
class OverlayAPI(MicroscopeView):