docs(striker-ui-api): adjust spacing in session logs

main
Tsu-ba-me 2 years ago
parent b72283a06c
commit e460986e7c
  1. 4
      striker-ui-api/src/session.ts

@ -97,7 +97,7 @@ export class SessionStore extends BaseSessionStore {
session: SessionData, session: SessionData,
done?: ((err?: unknown) => void) | undefined, done?: ((err?: unknown) => void) | undefined,
): Promise<void> { ): Promise<void> {
stdoutVar({ session }, `Set session ${sid}`); stdoutVar({ session }, `Set session ${sid}: `);
const { passport: { user: userUuid } = {} } = session; const { passport: { user: userUuid } = {} } = session;
@ -145,7 +145,7 @@ export class SessionStore extends BaseSessionStore {
session: SessionData, session: SessionData,
done?: ((err?: unknown) => void) | undefined, done?: ((err?: unknown) => void) | undefined,
): Promise<void> { ): Promise<void> {
stdoutVar({ session }, `Touch session ${sid}`); stdoutVar({ session }, `Touch session ${sid}: `);
try { try {
const wcode = await write( const wcode = await write(

Loading…
Cancel
Save