Fix: tokenなしのエンドポイントで通信できない問題

This commit is contained in:
2026-01-25 12:51:56 +09:00
parent 72d7616c16
commit 331cff0550
+5 -1
View File
@@ -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);
}