Skip to content

Commit ea19a5a

Browse files
committed
minor fix
1 parent c0f35e8 commit ea19a5a

File tree

1 file changed

+4
-5
lines changed
  • services/static-webserver/client/source/class/osparc/desktop

1 file changed

+4
-5
lines changed

services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ qx.Class.define("osparc.desktop.StudyEditor", {
597597
}
598598
};
599599
osparc.data.Resources.fetch("runPipeline", "startPipeline", params)
600-
.then(() => this.__onPipelineSubmitted())
600+
.then(resp => this.__onPipelineSubmitted(resp))
601601
.catch(err => {
602602
let msg = err.message;
603603
const errStatus = err.status;
@@ -630,10 +630,9 @@ qx.Class.define("osparc.desktop.StudyEditor", {
630630
return true;
631631
},
632632

633-
__onPipelineSubmitted: function(e) {
634-
const resp = e.getTarget().getResponse();
635-
const pipelineId = resp.data["pipeline_id"];
636-
const iterationRefIds = resp.data["ref_ids"];
633+
__onPipelineSubmitted: function(response) {
634+
const pipelineId = response["pipeline_id"];
635+
const iterationRefIds = response["ref_ids"];
637636
this.getStudyLogger().debug(null, "Pipeline ID " + pipelineId);
638637
const notGood = [null, undefined, -1];
639638
if (notGood.includes(pipelineId)) {

0 commit comments

Comments
 (0)