From 3bd0d79fdc37bf004a59c87ec0b89f99743fa8ab Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 29 Nov 2025 01:21:56 +0800 Subject: [PATCH] wtf fix int wrong stupid --- client-protocol/Message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-protocol/Message.ts b/client-protocol/Message.ts index ea5729a..1d806ee 100644 --- a/client-protocol/Message.ts +++ b/client-protocol/Message.ts @@ -89,7 +89,7 @@ class ChatAttachment extends BaseClientObject { if (re.ok) { const t = re.headers.get('content-type') if (t) - return parseInt(t) + return t throw new Error("Unable to get Content-Type") } throw new CallbackError({