fix handling of new requests for generated client id

This commit is contained in:
Roman Shtylman
2013-12-21 10:45:19 -05:00
parent 74ce55f5ef
commit e08ee1edbb
2 changed files with 3 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ module.exports = function(opt) {
app.use(app.router);
app.get('/', function(req, res, next) {
if (!req.query.hasOwnProperty('new')) {
if (req.query['new'] === undefined) {
return next();
}