docs: correct name for callback function

This commit is contained in:
John McLear 2020-11-26 10:10:43 +00:00 committed by GitHub
parent ba7d80fa57
commit 83e28ec031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
};
```