diff --git a/frontend/static/js/todos.js b/frontend/static/js/todos.js index b367a27..a541bb5 100644 --- a/frontend/static/js/todos.js +++ b/frontend/static/js/todos.js @@ -282,11 +282,10 @@ function todosApp() { estimated_minutes: newMinutes }); } else { - // 기존 일정 수정 - console.log('🔄 기존 일정 수정 API 호출'); - response = await window.api.put(`/todos/${this.currentTodo.id}`, { - start_date: startDate.toISOString(), - estimated_minutes: newMinutes + // 기존 일정 지연 (active 상태의 할일) + console.log('🔄 기존 일정 지연 API 호출'); + response = await window.api.put(`/todos/${this.currentTodo.id}/delay`, { + delayed_until: startDate.toISOString() }); }