mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
update api services
This commit is contained in:
parent
e3af39bdbd
commit
7223a7b04d
4 changed files with 51 additions and 92 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue