req._query is now req.query
Not sure exactly when this happened, but i had to make this change for my versions of node/js
This commit is contained in:
parent
80aa8dc023
commit
452cc19a87
@ -85,8 +85,8 @@ function authorize(options, onConnection) {
|
||||
}
|
||||
|
||||
//get the token from query string
|
||||
if (req._query && req._query.token) {
|
||||
token = req._query.token;
|
||||
if (req.query && req.query.token) {
|
||||
token = req.query.token;
|
||||
}
|
||||
|
||||
if (!token) {
|
||||
|
Reference in New Issue
Block a user