Fixed malformed JSONIFY task responses
This commit is contained in:
parent
10bafe1281
commit
edc5e7c241
3 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ class TileScanAPI(MicroscopeViewPlugin):
|
|||
)
|
||||
|
||||
# return a handle on the autofocus task
|
||||
return jsonify(task.state, 202)
|
||||
return jsonify(task.state), 202
|
||||
|
||||
|
||||
class ZStackAPI(MicroscopeViewPlugin):
|
||||
|
|
@ -88,4 +88,4 @@ class ZStackAPI(MicroscopeViewPlugin):
|
|||
)
|
||||
|
||||
# return a handle on the autofocus task
|
||||
return jsonify(task.state, 202)
|
||||
return jsonify(task.state), 202
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue