projeto-hit/backend/src/routes/SchedulingNotifyRoutes.ts

13 lines
472 B
TypeScript

import { Router } from "express";
import isAuth from "../middleware/isAuth";
import * as SchedulingNotifyController from "../controllers/SchedulingNotifyController";
const schedulingNotifiyRoutes = Router();
schedulingNotifiyRoutes.delete("/schedule/:scheduleId", isAuth, SchedulingNotifyController.remove);
schedulingNotifiyRoutes.get("/schedules", isAuth, SchedulingNotifyController.reportScheduleNotifyByDateStartDateEnd);
export default schedulingNotifiyRoutes;