feat: add sessions stats endpoint

This commit is contained in:
Carlos Valente
2024-10-20 22:19:33 +02:00
committed by Carlos Valente
parent 71c468d069
commit 82810f1cb1
8 changed files with 71 additions and 3 deletions
@@ -1,7 +1,8 @@
import express from 'express';
import { getInfo } from './session.controller.js';
import { getInfo, getSessionStats } from './session.controller.js';
export const router = express.Router();
router.get('/', getSessionStats);
router.get('/info', getInfo);