docs: correct name for callback function
parent
ba7d80fa57
commit
83e28ec031
|
@ -542,7 +542,7 @@ exports.handleMessage = (hookName, {message, socket}, callback) => {
|
|||
const user = socket.client.request.session.user || {};
|
||||
if (user.name) message.data.userInfo.name = user.name;
|
||||
}
|
||||
return cb();
|
||||
return callback();
|
||||
};
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue