summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-08-15 19:10:28 +0200
committerRory& <root@rory.gay>2026-08-15 19:10:28 +0200
commit554f8ff38c51a85531c4916f85b9bbb0cb5813f0 (patch)
treed6443702663d235b3ad55b69fb161f9196bb6c7a /src/api
parentAllow avatar_description field in profile update (diff)
downloadserver-ts-554f8ff38c51a85531c4916f85b9bbb0cb5813f0.tar.xz
Log session before/after remove
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/auth/sessions.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/routes/auth/sessions.ts b/src/api/routes/auth/sessions.ts

index a566f7760..e2cdca0c8 100644 --- a/src/api/routes/auth/sessions.ts +++ b/src/api/routes/auth/sessions.ts
@@ -71,7 +71,9 @@ router.post( } for (const session of sessions) { + console.log("Session pre remove:", session); await session.remove(); + console.log("Session post remove:", session); await emitEvent({ session_id: session.session_id, event: "SB_SESSION_REMOVE",