added underscore to unused vars to remove lsp warning

This commit is contained in:
Karma Riuk
2025-04-28 10:13:35 +02:00
parent 83c53d6ed4
commit a06d99352f

View File

@ -2,12 +2,12 @@ import { Router } from 'express';
const router = Router(); const router = Router();
// Routes // Routes
router.get('/', (req, res) => { router.get('/', (_req, res) => {
res.json({ message: 'Welcome to the Express backend!' }); res.json({ message: 'Welcome to the Express backend!' });
}); });
// Example route // Example route
router.get('/api/hello', (req, res) => { router.get('/api/hello', (_req, res) => {
res.json({ message: 'Hello from the backend!' }); res.json({ message: 'Hello from the backend!' });
}); });