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",
|
"Content-Type": "multipart/form-data",
|
||||||
},
|
},
|
||||||
body: fd,
|
body: fd,
|
||||||
|
method: "POST",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -49,6 +50,7 @@ export default translator({
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${apiKey}`,
|
Authorization: `Bearer ${apiKey}`,
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
method: "POST",
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ avatarId }),
|
body: JSON.stringify({ avatarId }),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue