hmm-2 ...

v1.18.x
Aziz Khoury 9 years ago
parent aac30cb5ec
commit 3dc63438de

@ -218,7 +218,7 @@ var cls = require('../middleware/cls');
return { return {
uid: socket.uid, uid: socket.uid,
params: data[1], params: data[1],
method: event, method: event || data[0],
body: payload, body: payload,
ip: headers['x-forwarded-for'] || socket.ip, ip: headers['x-forwarded-for'] || socket.ip,
host: host, host: host,

Loading…
Cancel
Save