mirror of https://github.com/buster-so/buster.git
revert v2 change
This commit is contained in:
parent
1f4276e6ee
commit
581a727c8c
|
@ -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> => {
|
||||
|
|
Loading…
Reference in New Issue