From d6f794a09411fb49ca234dc5c5ce5da78e17b795 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 4 Oct 2025 14:55:06 +0800 Subject: [PATCH] fix: Chat.getInfo should return id --- server/api/ChatApi.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/api/ChatApi.ts b/server/api/ChatApi.ts index 65d3066..2f5e91f 100644 --- a/server/api/ChatApi.ts +++ b/server/api/ChatApi.ts @@ -48,6 +48,7 @@ export default class ChatApi extends BaseApi { code: 200, msg: "成功", data: { + id: args.target as string, type: chat.bean.type, title: chat.getTitle(mine), avatar: chat.getAvatarFileHash(mine) ? "uploaded_files/" + chat.getAvatarFileHash(mine) : undefined