From 16eec06b7cd4e97e321c6f9ab9fd20746014a0bf Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Thu, 4 Sep 2025 11:18:02 +0900 Subject: [PATCH] =?UTF-8?q?TODO=20=EC=9D=BC=EC=A0=95=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0:=20active=20?= =?UTF-8?q?=EC=83=81=ED=83=9C=20=ED=95=A0=EC=9D=BC=EC=9D=80=20delay=20?= =?UTF-8?q?=EC=97=94=EB=93=9C=ED=8F=AC=EC=9D=B8=ED=8A=B8=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/static/js/todos.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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() }); }