diff --git a/frontend/src/components/routine/RoutineEditView.vue b/frontend/src/components/routine/RoutineEditView.vue index b258c67..ca08c51 100644 --- a/frontend/src/components/routine/RoutineEditView.vue +++ b/frontend/src/components/routine/RoutineEditView.vue @@ -366,7 +366,7 @@ function onDragEnd() { async function uploadImage(file: File): Promise { const formData = new FormData() formData.append('file', file) - formData.append('type', '4') + formData.append('type', '2') formData.append('permanent', 'false') const resp = await fetch('/api/image/upload', { method: 'POST', body: formData }) if (!resp.ok) throw new Error('Image upload failed')