From 4b1d213e1c0ee90e6b376f891dbc137901563247 Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Mon, 6 Jul 2026 20:38:58 -0400 Subject: [PATCH] chore(admin): remove stale session-DTO TODO The shared session serializer (serializeSession) and public response schema (SessionListResponseSchema / SessionSchema) already exist and are used by getUserDetail, listUserSessions, and listAllSessions, and the routes validate responses against them. Remove the now-inaccurate TODO. Closes #16 --- src/controllers/admin.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controllers/admin.ts b/src/controllers/admin.ts index 4cee60f..43a12a4 100644 --- a/src/controllers/admin.ts +++ b/src/controllers/admin.ts @@ -323,7 +323,6 @@ export const getUserAnomalies = async (req: Request, res: Response) => { } }; -// TODO: Need a public session return type for sessions export const listUserSessions = async (req: Request, res: Response) => { const { userId } = req.params;