import type { Response } from "express";
import type { Request } from "express";
import { getActiveClientReviews } from "../services/clientReviewService.js";
import { sendSuccess } from "../utils/apiResponse.js";

export const listActiveClientReviews = async (
  _req: Request,
  res: Response,
) => {
  const result = await getActiveClientReviews();
  return sendSuccess(res, 200, result);
};
