From ac5ce582b5676775924df082a92acb0c5b043278 Mon Sep 17 00:00:00 2001 From: samerbam Date: Thu, 24 Aug 2023 21:45:19 -0400 Subject: [PATCH] text -> task --- application/static/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/static/scripts.js b/application/static/scripts.js index 3123dbd..843088c 100644 --- a/application/static/scripts.js +++ b/application/static/scripts.js @@ -692,7 +692,7 @@ function getTodosFromAPI() { for (let todo of jso.todos) { console.log(todo) // function addTask(defaultTimeRange="", defaultTaskText="New Task", editable=true) { - addTask(defaultTimeRange=todo.time, defaultTaskText=todo.text, editable=false) + addTask(defaultTimeRange=todo.time, defaultTaskText=todo.task, editable=false) } }) // var items = JSON.parse(re.json())