mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
docs: correct name for callback function
This commit is contained in:
parent
ba7d80fa57
commit
83e28ec031
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ exports.handleMessage = (hookName, {message, socket}, callback) => {
|
||||||
const user = socket.client.request.session.user || {};
|
const user = socket.client.request.session.user || {};
|
||||||
if (user.name) message.data.userInfo.name = user.name;
|
if (user.name) message.data.userInfo.name = user.name;
|
||||||
}
|
}
|
||||||
return cb();
|
return callback();
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue