aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'todolist/app.go')
-rw-r--r--todolist/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolist/app.go b/todolist/app.go
index 00effa7..e0f11d2 100644
--- a/todolist/app.go
+++ b/todolist/app.go
@@ -17,7 +17,7 @@ func NewApp() *App {
func (a *App) AddTodo(input string) {
parser := &Parser{}
- todo := parser.Parse(input)
+ todo := parser.ParseNewTodo(input)
a.TodoStore.Add(todo)
a.TodoStore.Save()