const express = require("express");
const {
  getMeetings,
  softDeleteMeeting // ✅ Add this line
} = require("../controllers/meetingController");

const router = express.Router();

// GET all non-deleted meetings
router.get("/meetings", getMeetings);

// ✅ Add soft delete route
router.patch("/meetings/:id/soft-delete", softDeleteMeeting);

module.exports = router;

