From 906e0a808e39d5053c6862ddbedbd33f786265b8 Mon Sep 17 00:00:00 2001 From: split Date: Thu, 21 Nov 2024 20:40:01 -0800 Subject: [PATCH] fix: :bug: misplaced method k/v pair --- src/translators/misskey.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translators/misskey.ts b/src/translators/misskey.ts index d97910a..d41842f 100644 --- a/src/translators/misskey.ts +++ b/src/translators/misskey.ts @@ -49,9 +49,9 @@ export default translator({ headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json", - method: "POST", }, body: JSON.stringify({ avatarId }), + method: "POST", }) if (!updateRequest.ok)