From 331cff05507b693f7edfeeb12ee96fce68a68a01 Mon Sep 17 00:00:00 2001 From: Last2014 Date: Sun, 25 Jan 2026 12:51:56 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20token=E3=81=AA=E3=81=97=E3=81=AE?= =?UTF-8?q?=E3=82=A8=E3=83=B3=E3=83=89=E3=83=9D=E3=82=A4=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=81=A7=E9=80=9A=E4=BF=A1=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84?= =?UTF-8?q?=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 4900374..a6bd346 100644 --- a/src/index.ts +++ b/src/index.ts @@ -90,8 +90,12 @@ export default class uwuzu< bodyParsed = { ...bodyParsed, - token: this._token, + token: this._token ?? "", }; + + if (bodyParsed.token === "") + delete bodyParsed.token; + bodyParsed = JSON.stringify(bodyParsed); }