diff options
Diffstat (limited to 'todolist/util.go')
| -rw-r--r-- | todolist/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolist/util.go b/todolist/util.go index 4f5371d..bbed216 100644 --- a/todolist/util.go +++ b/todolist/util.go @@ -15,7 +15,7 @@ func AddIfNotThere(arr []string, items []string) []string { return arr } -func AddTodoIfNotThere(arr []Todo, item Todo) []Todo { +func AddTodoIfNotThere(arr []*Todo, item *Todo) []*Todo { there := false for _, arrItem := range arr { if item.Id == arrItem.Id { |
