Stefan Huber

correcting ports

...@@ -103,7 +103,7 @@ var Rest = Rest_1 = (function () { ...@@ -103,7 +103,7 @@ var Rest = Rest_1 = (function () {
103 ip: node.IP, 103 ip: node.IP,
104 uuid: body.device_id, 104 uuid: body.device_id,
105 couchPort: body.couch_port, 105 couchPort: body.couch_port,
106 - webPort: node.web_port 106 + webPort: body.web_port
107 }); 107 });
108 } 108 }
109 else { 109 else {
......
...@@ -110,7 +110,7 @@ export class Rest { ...@@ -110,7 +110,7 @@ export class Rest {
110 ip : node.IP , 110 ip : node.IP ,
111 uuid : body.device_id , 111 uuid : body.device_id ,
112 couchPort : body.couch_port , 112 couchPort : body.couch_port ,
113 - webPort : node.web_port 113 + webPort : body.web_port
114 }); 114 });
115 } else { 115 } else {
116 reject(); 116 reject();
......