Fixed incorrect params
This commit is contained in:
parent
42d86a5a92
commit
b2b6bee892
@ -86,7 +86,7 @@ class Session extends EventEmitter
|
||||
.HSET( this.id, "spawn", new Date().getTime() )
|
||||
.HSET( this.id, "lifespan", ttl )
|
||||
.EXPIRE( this.id, ttl )
|
||||
, handler || this.__emitOk
|
||||
, ( data, err ) => ( handler || this.__emitOk)( err, data )
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user