revert v2 change

This commit is contained in:
Wells Bunker 2025-09-29 12:17:12 -06:00
parent 1f4276e6ee
commit 581a727c8c
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export const getListLogs = async (params?: GetLogsListRequest): Promise<GetLogsL
};
export const getChat = async ({ id }: GetChatRequest): Promise<GetChatResponse> => {
return mainApiV2.get<GetChatResponse>(`${CHATS_BASE}/${id}`).then((res) => res.data);
return mainApi.get<GetChatResponse>(`${CHATS_BASE}/${id}`).then((res) => res.data);
};
export const deleteChat = async (data: DeleteChatsRequest): Promise<void> => {