fix spelling

This commit is contained in:
Philippe 2017-01-04 11:09:02 +01:00
parent 90f431741b
commit cac4cb06c8

View File

@ -187,7 +187,7 @@ var SECRETS = {
io.use(socketioJwt.authorize({ io.use(socketioJwt.authorize({
secret: function(request, decodedToken, callback) { secret: function(request, decodedToken, callback) {
// SECRETS[decodedToken.userId] will be used a a secret or // SECRETS[decodedToken.userId] will be used as a secret or
// public key for connection user. // public key for connection user.
callback(null, SECRETS[decodedToken.userId]); callback(null, SECRETS[decodedToken.userId]);