From f6258c970bded0c03c08b5ce826e873d92b726f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=83=E5=9D=A4?= Date: Thu, 10 Jul 2025 09:35:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/index.ts b/service/index.ts index 19e4542..942dba6 100644 --- a/service/index.ts +++ b/service/index.ts @@ -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} }) }