From 27035eb2ca30d40be0febb5f9557a412e2b10d0a Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 8 Nov 2025 23:06:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=A4=B4=E5=83=8F=20f?= =?UTF-8?q?ile=5Fhash=20=E5=BF=98=E8=AE=B0=E6=A3=80=E6=B5=8B=20target=20?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E4=B8=8E=E5=90=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/ChatApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/ChatApi.ts b/server/api/ChatApi.ts index 6266054..698eb44 100644 --- a/server/api/ChatApi.ts +++ b/server/api/ChatApi.ts @@ -463,7 +463,7 @@ export default class ChatApi extends BaseApi { }) // 更新頭像 this.registerEvent("Chat.setAvatar", (args, { deviceId }) => { - if (this.checkArgsMissing(args, ['file_hash', 'token'])) return { + if (this.checkArgsMissing(args, ['file_hash', 'token', 'target'])) return { msg: "参数缺失", code: 400, }