chatbridge/server/routes/group.routes.ts
ansible user/allowed to read system logs 22340d8a96 working group controller
2023-07-24 18:40:22 -07:00

21 lines
382 B
TypeScript

import express from 'express';
import {
createGroupHandler,
getGroupHandler
} from "../controllers/group.controller";
import {
createGroupSchema
} from "../schemas/group.schema";
import { validate } from "../middleware/validate";
const router = express.Router();
router
.route('/')
.post(createGroupHandler)
.get(getGroupHandler)
export default router