text -> task

This commit is contained in:
samerbam 2023-08-24 21:45:19 -04:00
parent 57e484a44f
commit ac5ce582b5

View File

@ -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())