From 1118e1a7127e159762713c4c83c4f1d1e8ad02eb Mon Sep 17 00:00:00 2001 From: split Date: Thu, 21 Nov 2024 20:14:01 -0800 Subject: [PATCH] fix: :bug: use POST method on misskey --- src/translators/misskey.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/translators/misskey.ts b/src/translators/misskey.ts index 91777b0..367c920 100644 --- a/src/translators/misskey.ts +++ b/src/translators/misskey.ts @@ -33,6 +33,7 @@ export default translator({ "Content-Type": "multipart/form-data", }, body: fd, + method: "POST", } ) @@ -49,6 +50,7 @@ export default translator({ headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json", + method: "POST", }, body: JSON.stringify({ avatarId }), })