summaryrefslogtreecommitdiff
path: root/app/client/socket
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-07 10:36:40 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-07 10:36:40 +0200
commitaf8b8d4a7bd58d6355665a962e587c149f03cf16 (patch)
tree487cfa814eee281089ee97b28d5457063ee3115b /app/client/socket
parent1efb98c37e58b3a6f73fccc59ec00aeca9bf3ab1 (diff)
display status message and stuff
Diffstat (limited to 'app/client/socket')
-rw-r--r--app/client/socket/socket.task.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/client/socket/socket.task.js b/app/client/socket/socket.task.js
index b33f81a..9e54522 100644
--- a/app/client/socket/socket.task.js
+++ b/app/client/socket/socket.task.js
@@ -26,10 +26,10 @@ socket.on('task_res', (data) => {
case 'kill':
break
case 'stdout':
- return dispatch({ type: types.system.stdout, data: data.data })
+ return dispatch({ type: types.system.stdout, data })
break
case 'stderr':
- return dispatch({ type: types.system.stderr, data: data.data })
+ return dispatch({ type: types.system.stderr, data })
break
case 'add':
break