mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 11:53:49 +00:00
feat: add sessions stats endpoint
This commit is contained in:
committed by
Carlos Valente
parent
71c468d069
commit
82810f1cb1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user