File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
services/static-webserver/client/source/class/osparc/desktop Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff 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 ) ) {
You can’t perform that action at this time.
0 commit comments