修改接口参数
This commit is contained in:
parent
626af60456
commit
f6258c970b
@ -44,9 +44,9 @@ export const fetchConversations = async (limit = 100, last_id = null) => {
|
||||
return get('conversations', { params: { limit, last_id } })
|
||||
}
|
||||
|
||||
export const fetchChatList = async (conversationId: string, limit = 20, last_id = null) => {
|
||||
export const fetchChatList = async (conversationId: string, limit = 20) => {
|
||||
return get('messages', {
|
||||
params: { conversation_id: conversationId, limit, last_id }
|
||||
params: { conversation_id: conversationId, limit}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user