summaryrefslogtreecommitdiff
path: root/app/client/socket/socket.api.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-05 16:16:24 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-05 16:16:24 +0200
commitb0d534d174def2940287745535726c7e878dcbcc (patch)
tree499f8980f2e29bd36833bb943eacd01e9815759e /app/client/socket/socket.api.js
parente243e4f65cc2c98724a1cfb4d28ac5f1d1bc0a79 (diff)
more sane file naming
Diffstat (limited to 'app/client/socket/socket.api.js')
-rw-r--r--app/client/socket/socket.api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/socket/socket.api.js b/app/client/socket/socket.api.js
index 99c9248..11783a5 100644
--- a/app/client/socket/socket.api.js
+++ b/app/client/socket/socket.api.js
@@ -5,6 +5,7 @@ import { socket } from './socket.connection'
socket.on('api_res', (data) => {
// console.log('system response', data)
const type = types[data.datatype]
+ console.log('api_res', data.type, data.datatype)
if (! type) return console.error('socket:api_res bad datatype', data.datatype)
switch (data.type) {
case 'create':
@@ -29,4 +30,3 @@ socket.on('api_res', (data) => {
break
}
})
-