Replaced 202s with more suitable 201s
This commit is contained in:
parent
76af0891e9
commit
dac50f1f3a
7 changed files with 10 additions and 10 deletions
|
|
@ -142,4 +142,4 @@ class TimelapseAPI(MicroscopeViewPlugin):
|
|||
self.timelapse_task = taskify(self.plugin.timelapse)(n_images)
|
||||
|
||||
# Return the state of the task (will show ID, start time, and status before the task has finished)
|
||||
return jsonify(self.timelapse_task.state), 202
|
||||
return jsonify(self.timelapse_task.state), 201
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue