Skip to content

Commit 3f5cfd7

Browse files
committed
fix(log): fixing log data on SET
1 parent 5414a91 commit 3f5cfd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/express-session-etcd3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class Etcd3Store extends Store {
8787
*/
8888
set = (sid: string, session: Express.SessionData, callback: (err: any) => void): void => {
8989
const ttl = this.getTTL(session, sid)
90-
this.debug('SET "%s" ttl:%s %O', sid, session, ttl)
90+
this.debug('SET "%s" ttl:%s %O', sid, ttl, session)
9191
try {
9292
this.client
9393
.lease(ttl)

0 commit comments

Comments
 (0)