File size: 380 Bytes
c59d808 | 1 2 3 4 5 6 7 8 9 10 11 12 | import { ChatMessageResponse } from "@/types/chat";
import { api } from "./api-client";
import { CHAT } from "./endpoints";
export const chatService = {
// TODO: Implement chat service methods, and delete this placeholder
getMessage: async (): Promise<ChatMessageResponse> => {
const response = await api.get<ChatMessageResponse>(CHAT.ROOT);
return response;
},
};
|