16 lines
422 B
TypeScript
16 lines
422 B
TypeScript
|
import { Request, Response } from "express";
|
||
|
|
||
|
import DeleteSchedulingNotifyService from "../services/SchedulingNotifyServices/DeleteSchedulingNotifyService";
|
||
|
|
||
|
|
||
|
export const remove = async ( req: Request, res: Response ): Promise<Response> => {
|
||
|
|
||
|
console.log('EEEEEEEEEEEEEEEEEEEEEEEEEEE')
|
||
|
|
||
|
const { scheduleId } = req.params;
|
||
|
|
||
|
await DeleteSchedulingNotifyService(scheduleId);
|
||
|
|
||
|
return res.status(200).send();
|
||
|
};
|