mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-08-12 14:21:01 +00:00
Merge pull request #85 from nagisa77/codex/fix-issue-with-deleting-drafts
Fix draft deletion 400 error
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