first commit of refactor
This commit is contained in:
12
backend/api/routes/alertEvents.js
Normal file
12
backend/api/routes/alertEvents.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import express from 'express';
|
||||
import { authenticate } from '../../middleware/authenticate.js';
|
||||
import * as AlertEventController from '../../controllers/AlertEventController.js';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.use(authenticate);
|
||||
|
||||
router.get('/', AlertEventController.list);
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user