update api services

This commit is contained in:
thierryverse 2025-11-18 11:33:57 +02:00
parent e3af39bdbd
commit 7223a7b04d
4 changed files with 51 additions and 92 deletions

View file

@ -17,7 +17,7 @@ import {
import { ValidationError } from "../error";
import { baseApiService } from "./base-api.service";
export class ChatApiService {
class ChatApiService {
getChatDetails = async (request: GetChatDetailsRequest) => {
// Validate the request
const parsedRequest = getChatDetailsRequest.safeParse(request);
@ -127,4 +127,4 @@ export class ChatApiService {
};
}
export const chatApiService = new ChatApiService();
export const chatsApiService = new ChatApiService();