fix: 🐛 use POST method on misskey

This commit is contained in:
May 2024-11-21 20:14:01 -08:00
parent 876e99bed0
commit 1118e1a712
Signed by: split
GPG key ID: C325C61F0BF517C0

View file

@ -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 }),
})