Files
GMW/services/backend/src/modules/mascot-chat/mascot-chat.routes.ts
T

17 lines
447 B
TypeScript
Raw Normal View History

2026-06-03 15:01:34 +07:00
import express, { type Router } from "express";
import {
clearMascotChatHistory,
getMascotChatHistory,
handleMascotChat,
} from "./mascot-chat.controller.js";
export function createMascotChatRouter(): Router {
const router = express.Router();
router.post("/mascot/chat", handleMascotChat);
router.get("/mascot/chat/history", getMascotChatHistory);
router.delete("/mascot/chat/history", clearMascotChatHistory);
2026-06-03 15:01:34 +07:00
return router;
}