Fixed incorrect params

This commit is contained in:
斟酌 鵬兄 2023-02-01 07:04:21 +08:00
parent 42d86a5a92
commit b2b6bee892

View File

@ -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 )
);
}