12 lines
452 B
TypeScript
12 lines
452 B
TypeScript
import { Request, Response } from "express";
|
|
import AppError from "../errors/AppError";
|
|
|
|
import ListStatusChatEndService from "../services/StatusChatEndService/ListStatusChatEndService";
|
|
|
|
export const show = async (req: Request, res: Response): Promise<Response> => {
|
|
|
|
const { statusChatEnd, count, hasMore } = await ListStatusChatEndService({ searchParam: "", pageNumber: "1" });
|
|
|
|
return res.status(200).json(statusChatEnd);
|
|
};
|
|
|