Commit 8fe05228e313da20911495a6b5b08bf120974b5a
1 parent
c9343c010a
Exists in
master
console log respues
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
webSocketServer/index.js
| ... | ... | @@ -104,10 +104,11 @@ module.exports = function() { |
| 104 | 104 | client.ws.on('message', function(message) { |
| 105 | 105 | |
| 106 | 106 | message = JSON.parse(message); |
| 107 | - | |
| 107 | + console.log(message); | |
| 108 | 108 | if (idSolicitud == message.idSolicitud) { |
| 109 | 109 | |
| 110 | 110 | if (message.ok) { |
| 111 | + | |
| 111 | 112 | resolve(); |
| 112 | 113 | } else { |
| 113 | 114 |