mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-08 03:37:28 +08:00
fix: remove content-type header on draft deletion
This commit is contained in:
@@ -78,7 +78,6 @@ export default {
|
|||||||
const res = await fetch(`${API_BASE_URL}/api/drafts/me`, {
|
const res = await fetch(`${API_BASE_URL}/api/drafts/me`, {
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
|
||||||
Authorization: `Bearer ${token}`
|
Authorization: `Bearer ${token}`
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user