File tree 2 files changed +6
-6
lines changed
services/web/client/source/class/qxapp
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -202,9 +202,9 @@ qx.Class.define("qxapp.components.workbench.NodeBase", {
202
202
socket . on ( slotName , function ( val ) {
203
203
const {
204
204
data,
205
- status
205
+ error
206
206
} = val ;
207
- if ( status == 201 ) {
207
+ if ( ! error ) {
208
208
const publishedPort = data [ "published_port" ] ;
209
209
const entryPointD = data [ "entry_point" ] ;
210
210
const nodeId = data [ "service_uuid" ] ;
Original file line number Diff line number Diff line change @@ -125,9 +125,9 @@ qx.Class.define("qxapp.data.Store", {
125
125
let requ = e . getTarget ( ) ;
126
126
const {
127
127
data,
128
- status
128
+ error
129
129
} = requ . getResponse ( ) ;
130
- if ( status >= 200 && status <= 299 ) {
130
+ if ( ! error ) {
131
131
const listOfRepositories = data ;
132
132
console . log ( "listOfServices" , listOfRepositories ) ;
133
133
let services = [ ] ;
@@ -152,9 +152,9 @@ qx.Class.define("qxapp.data.Store", {
152
152
socket . on ( "getInteractiveServices" , function ( e ) {
153
153
const {
154
154
data,
155
- status
155
+ error
156
156
} = e ;
157
- if ( status >= 200 && status <= 299 ) {
157
+ if ( ! error ) {
158
158
let listOfInteractiveServices = data ;
159
159
console . log ( "listOfInteractiveServices" , listOfInteractiveServices ) ;
160
160
let services = [ ] ;
You can’t perform that action at this time.
0 commit comments