chore: use sdk

This commit is contained in:
Joel
2023-04-17 11:33:06 +08:00
parent 139adcbb38
commit 22d2aae597
5 changed files with 5 additions and 119 deletions

View File

@ -15,10 +15,6 @@ export const sendChatMessage = async (body: Record<string, any>, { onData, onCom
}, { onData, onCompleted, onError })
}
export const fetchAppInfo = async () => {
return get('site')
}
export const fetchConversations = async () => {
return get('conversations', { params: { limit: 20, first_id: '' } })
}