fix: 🐛 use POST method on misskey
This commit is contained in:
parent
876e99bed0
commit
1118e1a712
|
@ -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 }),
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue