feat(character): 캐릭터 삭제 API

- 삭제 API 호출 대신 isActive=false로 수정 API 호출하도록 변경
This commit is contained in:
Yu Sung
2025-08-07 19:11:03 +09:00
parent 6bd3a62134
commit 062bb4f7b2
2 changed files with 8 additions and 9 deletions

View File

@@ -74,16 +74,10 @@ async function updateCharacter(characterData, image = null) {
})
}
// 캐릭터 삭제
async function deleteCharacter(id) {
return Vue.axios.delete(`/api/admin/characters/${id}`)
}
export {
getCharacterList,
searchCharacters,
getCharacter,
createCharacter,
updateCharacter,
deleteCharacter
updateCharacter
}